Enter search terms or a module, class or function name.
Swap levels i and j in a MultiIndex
i, j : int, string (can be mixed)
Level of index to be swapped. Can pass level name as string.
swapped : Series