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

Ensure dtype objects are passed within Column.astype #17978

Open
wants to merge 1 commit into
base: branch-25.04
Choose a base branch
from

Conversation

mroeschke
Copy link
Contributor

Description

Continuation of #17918

  • Some modified astype calls might be from Series/Index/etc., but IMO it's OK if we are a bit stricter and pass dtype objects when calling those methods too
  • Added some stricter typings to Column.as_*_column since they are called by Column.astype

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 Feb 11, 2025
@mroeschke mroeschke self-assigned this Feb 11, 2025
@mroeschke mroeschke requested a review from a team as a code owner February 11, 2025 02:06
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: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant