pandas.Index.nlevels

property Index.nlevels

Number of levels.