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

Support storing and exporting pandas extension types #18116

Open
wants to merge 2 commits into
base: branch-25.04
Choose a base branch
from

Conversation

mroeschke
Copy link
Contributor

@mroeschke mroeschke commented Feb 27, 2025

Description

closes #14149

This PR allows our Python columns dtype attribute to hold a pandas extension type.

Additionally, to_pandas(nullable=, arrow_type=) keywords have been changed to no_default so in pandas_compatible mode, we will round trip the dtype we accepted from_pandas

This PR does not attempt to handle resolving a new data type if we were to operate on a column with a pandas extension type.

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 27, 2025
@mroeschke mroeschke self-assigned this Feb 27, 2025
@mroeschke mroeschke requested a review from a team as a code owner February 27, 2025 02:54
@mroeschke mroeschke requested review from wence- and Matt711 February 27, 2025 02:54
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: No status
Development

Successfully merging this pull request may close these issues.

[FEA] Ability to round-trip all pandas columns dtypes
1 participant