pandas 0.9.1 documentation

pandas.Series.swaplevel

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

Swap levels i and j in a MultiIndex

Returns :swapped : Series