TYP: type NDFrame.(_get_axis|_get_axis_name|_get_axis_number) by topper-123 · Pull Request #33610 · pandas-dev/pandas (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I remember that. The problem was that np.swapaxes(df, 0, 1), np.swapaxes(series, 0, 0) works in master and are tested for. It's not unreasonable that it works, but users should really use transpose/T instead.

Maybe add swapaxes to _deprecations to get it out of the tab-list?