polars.Series.len#

Series.len() int[source]#

Length of this Series.

Examples

>>> s = pl.Series("a", [1, 2, 3])
>>> s.len()
3