pandas.Index.ndim

property Index.ndim[source]

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