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

Align TimedeltaIndex APIs with pandas 2.x #16368

Merged

Conversation

mroeschke
Copy link
Contributor

Description

Mostly exposing methods that were available on the TimedeltaColumn

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 Jul 23, 2024
@mroeschke mroeschke requested a review from a team as a code owner July 23, 2024 20:53
@vyasr vyasr changed the base branch from branch-24.08 to branch-24.10 July 25, 2024 03:32
"""
return type(self)._from_data({self.name: self._column.floor(freq)})

def round(self, freq: str) -> Self:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have some tests to cover these newly added APIs?

Copy link
Contributor Author

@mroeschke mroeschke Jul 26, 2024

Choose a reason for hiding this comment

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

Sure added tests for APIs that don't raise a NotImplementedError

@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit e2d45d6 into rapidsai:branch-24.10 Jul 31, 2024
79 checks passed
@mroeschke mroeschke deleted the api/timedeltaindex/alignment branch July 31, 2024 20:36
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants