Skip to content

Closes #3177 Index.sort_values - #3235

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:3177-Index.sort_values
Sep 19, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
ajpotts:3177-Index.sort_values

Conversation

@ajpotts

@ajpotts ajpotts commented May 23, 2024 •

Copy link
Copy Markdown
Contributor

@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch 2 times, most recently from 21af366 to 6f8dab4 Compare May 23, 2024 20:35
@ajpotts ajpotts changed the title 3177 index.sort values Closes #3177 index.sort values May 23, 2024
@ajpotts ajpotts changed the title Closes #3177 index.sort values Closes #3177 Index.sort_values May 23, 2024
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch 7 times, most recently from d09dc21 to 02f814c Compare May 30, 2024 15:48
@ajpotts
ajpotts marked this pull request as ready for review May 30, 2024 15:48
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch 4 times, most recently from 9638b14 to ad6be3a Compare May 31, 2024 13:37
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from 1004ddf to ffc5d4b Compare June 10, 2024 20:22

@stress-tess stress-tess left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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')

Comment thread arkouda/categorical.py Resolved
Comment thread arkouda/index.py Resolved
Comment thread arkouda/index.py Resolved
Comment thread arkouda/index.py Resolved
Comment thread arkouda/index.py Resolved
Comment thread arkouda/series.py Resolved
Comment thread arkouda/sorting.py Resolved
Comment thread arkouda/sorting.py Resolved
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from ffc5d4b to cad665d Compare June 26, 2024 21:18
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from dc2b9be to 85d8caf Compare October 11, 2024 00:12
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from 01c174d to da18351 Compare May 21, 2025 20:07
@jaketrookman
jaketrookman requested a review from 1RyanK May 27, 2025 16:29
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch 5 times, most recently from 1759493 to 1ae32f9 Compare May 29, 2025 02:29
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from 1ae32f9 to 5ac1522 Compare June 17, 2025 21:11
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from 5ac1522 to 2254b40 Compare July 17, 2025 12:04
@ajpotts
ajpotts changed the base branch from master to main July 25, 2025 14:13
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from ad49424 to a7fbf5b Compare August 14, 2025 15:47
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch 4 times, most recently from c18de34 to a0e1ec1 Compare September 4, 2025 17:00
@ajpotts
ajpotts requested review from stress-tess and removed request for stress-tess September 4, 2025 22:11
@ajpotts
ajpotts dismissed stress-tess’s stale review September 4, 2025 22:15

Reviewer is no longer active on the project.

@ajpotts
ajpotts removed the request for review from stress-tess September 4, 2025 22:15

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
ajpotts force-pushed the 3177-Index.sort_values branch from a0e1ec1 to f6b8faa Compare September 10, 2025 17:47

@1RyanK 1RyanK left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment thread arkouda/pandas/index.py Resolved
@ajpotts
ajpotts enabled auto-merge September 15, 2025 13:47
@ajpotts
ajpotts added this pull request to the merge queue Sep 16, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2025
@ajpotts
ajpotts added this pull request to the merge queue Sep 16, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2025
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from f6b8faa to 0e98a93 Compare September 16, 2025 18:37
@ajpotts
ajpotts force-pushed the 3177-Index.sort_values branch from 0e98a93 to 061a45c Compare September 16, 2025 18:44
@ajpotts
ajpotts enabled auto-merge September 18, 2025 19:22
@ajpotts
ajpotts added this pull request to the merge queue Sep 19, 2025
Merged via the queue into Bears-R-Us:main with commit b6cb306 Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Index.sort_values

5 participants