Skip to content
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

Have interval_range use IntervalIndex.from_breaks, remove column_empty_same_mask #16694

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

mroeschke
Copy link
Contributor

@mroeschke mroeschke commented Aug 29, 2024

Description

To match pandas implementation, interval_range dispatches to IntervalIndex.from_breaks which allows some code deduplication. This also allows us to remove column_empty_same_mask which (luckily) I didn't find any usage across RAPIDS

Checklist

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

@mroeschke mroeschke added Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 29, 2024
@mroeschke mroeschke requested a review from a team as a code owner August 29, 2024 17:41
@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit f2d153b into rapidsai:branch-24.10 Aug 29, 2024
86 checks passed
@mroeschke mroeschke deleted the ref/interval_range branch August 29, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants