pandas.Index.shape

property Index.shape: Tuple[int, ...]

Return a tuple of the shape of the underlying data.