pandas.MultiIndex.nlevels

property MultiIndex.nlevels

Integer number of levels in this MultiIndex.