-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
DOC: documenting pandas.MultIndex.argsort #62005
New issue
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
base: main
Are you sure you want to change the base?
DOC: documenting pandas.MultIndex.argsort #62005
Conversation
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
@arthurlw do you have some time to take a look please? We have already made the changes in pandas-stubs so it would be nice to have both sides merged and closed the loop on that issue. Thanks!! |
pandas/core/indexes/multi.py
Outdated
array([1, 0]) | ||
>>> midx[order] | ||
Index(['a', 'b', 'c', 'd'], dtype='object') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cmiiw, but this should be returning the MultiIndex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry bad copy paste from the other example, this is fixed.
…u/pandas into gh61998_multiindex_argsort
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.