polars.Series.arr.lengths# Series.arr.lengths() → Series[source]# Get the length of the arrays as UInt32. Examples >>> s = pl.Series([[1, 2, 3], [5]]) >>> s.arr.lengths() shape: (2,) Series: '' [u32] [ 3 1 ]