We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Am I missing something here?
import numpy as np import pandas x = np.array([[0,2,4],[2,0,7],[4,7,0]]) df = pandas.DataFrame(x, index=["a","b", "c"], columns=["a","b","c"]) df.sort("b", inplace=True) #raises error for axis=1 #df.sort("c", axis=1, inplace=True) # same with sort_index # desired result df.sort("b").T.sort("c").T
The text was updated successfully, but these errors were encountered:
I don't think this was ever implemented. In sort_index if by is specified then axis must be 0
sort_index
by
Sorry, something went wrong.
Just making sure I wasn't missing anything. I added the enhancement tag.
sweet thanks. Brian (Granger) was just talking about your election model notebook as I'm typing this comment
new issue at #10806
No branches or pull requests
Am I missing something here?
The text was updated successfully, but these errors were encountered: