Skip to content

Lengths of Series memory chunks

Source code

Description

Lengths of Series memory chunks

Usage

<Series>$chunk_lengths()

Value

Numeric vector. Output length is the number of chunks, and the sum of the output is equal to the length of the full Series.

Examples

library("polars")

chunked_series = c(as_polars_series(1:3), as_polars_series(1:10))
chunked_series$chunk_lengths()
#> [1]  3 10