Home
What's New in 1.0.0
Getting started
User Guide
API reference
Development
Release Notes
Input/output
General functions
Series
DataFrame
Pandas arrays
Panel
Index objects
Date offsets
Window
GroupBy
Resampling
Style
Plotting
General utility functions
Extensions
pandas.DataFrame.swapaxes
¶
DataFrame.
swapaxes
(
self: ~FrameOrSeries
,
axis1
,
axis2
,
copy=True
)
→ ~FrameOrSeries
[source]
¶
Interchange axes and swap values axes appropriately.
Returns
y
same as input
pandas.DataFrame.sum
pandas.DataFrame.swaplevel