Skip to content

Fix get_loc to properly fetch results from an index that is in decreasing order - #15719

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-24.06from
galipremsagar:15713
May 10, 2024
Merged

Fix get_loc to properly fetch results from an index that is in decreasing order#15719
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-24.06from
galipremsagar:15713

Conversation

@galipremsagar

@galipremsagar galipremsagar commented May 10, 2024

Copy link
Copy Markdown
Contributor

Description

Fixes: #15713

This PR properly calls search_sorted to arrive at correct results for indexes that are of decreasing order.

Forks from #14534

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@galipremsagar galipremsagar added bug Something isn't working non-breaking Non-breaking change labels May 10, 2024
@galipremsagar galipremsagar added this to the cudf.pandas API coverage milestone May 10, 2024
@galipremsagar galipremsagar self-assigned this May 10, 2024
@galipremsagar
galipremsagar requested a review from a team as a code owner May 10, 2024 17:47
@github-actions github-actions Bot added the Python Affects Python cuDF API. label May 10, 2024
@galipremsagar
galipremsagar requested a review from mroeschke May 10, 2024 19:50
@galipremsagar galipremsagar added the 5 - Ready to Merge Testing and reviews complete, ready to merge label May 10, 2024
@galipremsagar

galipremsagar commented May 10, 2024

Copy link
Copy Markdown
Contributor Author

/merge

1 similar comment
@galipremsagar

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit c3f3409 into NVIDIA:branch-24.06 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Index.get_loc is returning incorrect results on index objects that are in decreasing order

2 participants