Index.
shape
Return a tuple of the shape of the underlying data.
pandas.Index.nlevels
pandas.Index.size