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 DataFrame column types are preserved during serialization #14705

Merged

Conversation

mroeschke
Copy link
Contributor

Description

xref rapidsai/ucxx#149

Ensures column subclass e.g RangeIndex and data types e.g. int8 are preserved during serialization.

I think this should be backwards compatible since we're just adding keys to the the serialized header dict and the deserialization checks if those new keys exist

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 bug Something isn't working Python Affects Python cuDF API. non-breaking Non-breaking change labels Jan 3, 2024
@mroeschke mroeschke requested a review from a team as a code owner January 3, 2024 23:28
Copy link
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

Thanks @mroeschke , I can confirm this resolves the issue as reported in rapidsai/ucxx#149 .

@mroeschke
Copy link
Contributor Author

/merge

1 similar comment
@mroeschke
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit d81ca78 into rapidsai:branch-24.02 Jan 9, 2024
67 checks passed
@mroeschke mroeschke deleted the bug/serialization/column branch January 9, 2024 00:09
rapids-bot bot pushed a commit to rapidsai/ucxx that referenced this pull request Jan 9, 2024
Empty cuDF dataframe serialization was fixed in rapidsai/cudf#14705 .

Closes #149 .

Authors:
  - Peter Andreas Entschev (https://github.com/pentschev)

Approvers:
  - Lawrence Mitchell (https://github.com/wence-)

URL: #154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

3 participants