For DataFrames, the value to be passed for axis is columns
.
frame.sort_index(axis="columns")
1
solved No axis named 1 for object type
For DataFrames, the value to be passed for axis is columns
.
frame.sort_index(axis="columns")
1
solved No axis named 1 for object type