pandas.MultiIndex.nlevels ========================= .. currentmodule:: pandas .. autoproperty:: MultiIndex.nlevels