polars.Series.list.len# Series.list.len() → Series[source]# Return the number of elements in each list. Null values count towards the total. Returns: SeriesSeries of data type UInt32. Examples >>> s = pl.Series([[1, 2, None], [5]]) >>> s.list.len() shape: (2,) Series: '' [u32] [ 3 1 ]