pandas.MultiIndex.swaplevel =========================== .. currentmodule:: pandas .. automethod:: MultiIndex.swaplevel