pandas.Series.ndim

property Series.ndim: int

Number of dimensions of the underlying data, by definition 1.