polars.Series.shape#

property Series.shape: tuple[int][source]#

Shape of this Series.

Examples

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