Skip to content

Conversation

loicdiridollou
Copy link
Member

@loicdiridollou loicdiridollou changed the title Gh61998 multiindex argsort DOC: documenting pandas.MultIndex.argsort Jul 30, 2025
@arthurlw arthurlw added Docs MultiIndex Sorting e.g. sort_index, sort_values labels Jul 31, 2025
Copy link
Contributor

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.

@github-actions github-actions bot added the Stale label Aug 31, 2025
@loicdiridollou
Copy link
Member Author

@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!!

array([1, 0])
>>> midx[order]
Index(['a', 'b', 'c', 'd'], dtype='object')
Copy link
Member

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

Copy link
Member Author

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.

@arthurlw arthurlw added Closing Candidate May be closeable, needs more eyeballs and removed Stale labels Sep 1, 2025
@arthurlw arthurlw requested a review from mroeschke September 1, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closing Candidate May be closeable, needs more eyeballs Docs MultiIndex Sorting e.g. sort_index, sort_values
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: documenting pandas.MultIndex.argsort
2 participants