pandas.Panel.swapaxes

Panel.swapaxes(axis1, axis2, copy=True)

Interchange axes and swap values axes appropriately

Returns:y : same as input