polars.Series.chunk_lengths

Series.chunk_lengths() List[int]

Get the length of each individual chunk.