pandas 0.9.0 documentation

pandas.Series.swaplevel

Series.swaplevel(i, j, copy=True)

Swap levels i and j in a MultiIndex

Returns :swapped : Series