Repository navigation
Closes #3177 Index.sort_values - #3235
Merged
Merged
Conversation
ajpotts
force-pushed
the
3177-Index.sort_values
branch
2 times, most recently
from
May 23, 2024 20:35
21af366 to
6f8dab4
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
7 times, most recently
from
May 30, 2024 15:48
d09dc21 to
02f814c
Compare
ajpotts
marked this pull request as ready for review
May 30, 2024 15:48
ajpotts
force-pushed
the
3177-Index.sort_values
branch
4 times, most recently
from
May 31, 2024 13:37
9638b14 to
ad6be3a
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
June 10, 2024 20:22
1004ddf to
ffc5d4b
Compare
stress-tess
previously requested changes
Jun 25, 2024
stress-tess
left a comment
Member
There was a problem hiding this comment.
I haven't looked at the tests terribly closely yet. I left a few comments for you to check out but the most important is I stumbled upon a bug due to using ak_isnan(self.values) instead of ak_isnan(self.values)[perm]
>>> vals = ak.array([4, np.nan, 1, np.nan, 0, np.nan, 3, np.nan, 2])
>>> ak.Index(vals).sort_values()
Index(array([0.0 2.0 4.0 nan nan 1.0 3.0 nan nan]), dtype='float64')
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
June 26, 2024 21:18
ffc5d4b to
cad665d
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
October 11, 2024 00:12
dc2b9be to
85d8caf
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
May 21, 2025 20:07
01c174d to
da18351
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
5 times, most recently
from
May 29, 2025 02:29
1759493 to
1ae32f9
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
June 17, 2025 21:11
1ae32f9 to
5ac1522
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
July 17, 2025 12:04
5ac1522 to
2254b40
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
August 14, 2025 15:47
ad49424 to
a7fbf5b
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
4 times, most recently
from
September 4, 2025 17:00
c18de34 to
a0e1ec1
Compare
ajpotts
requested review from
stress-tess
and removed request for
stress-tess
September 4, 2025 22:11
ajpotts
dismissed
stress-tess’s stale review
September 4, 2025 22:15
Reviewer is no longer active on the project.
drculhane
approved these changes
Sep 10, 2025
drculhane
left a comment
Contributor
There was a problem hiding this comment.
Looks good. I was curious about the nan handling and na_position, so I ran some manual tests, which did what they were supposed to do. Nice work.
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
September 10, 2025 17:47
a0e1ec1 to
f6b8faa
Compare
ajpotts
enabled auto-merge
September 15, 2025 13:47
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 16, 2025
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 16, 2025
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
September 16, 2025 18:37
f6b8faa to
0e98a93
Compare
ajpotts
force-pushed
the
3177-Index.sort_values
branch
from
September 16, 2025 18:44
0e98a93 to
061a45c
Compare
ajpotts
enabled auto-merge
September 18, 2025 19:22
drculhane
approved these changes
Sep 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the
Index.sort_values functionto matchpandas:https://pandas.pydata.org/docs/reference/api/pandas.Index.sort_values.html
Closes #3177 Index.sort_values