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