pandas.DataFrame.swapaxes

DataFrame.swapaxes(axis1, axis2, copy=True)[source]

Interchange axes and swap values axes appropriately

Returns:y : same as input
Scroll To Top