Series.swapaxes()
Interchange axes and swap values axes appropriately.
previous
pandas.Series.sum
next
pandas.Series.swaplevel