pandas.Series.ndim

property Series.ndim

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