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

Backport PR #57764 on branch 2.2.x (BUG: PyArrow dtypes were not supported in the interchange protocol) #57947

Merged

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Mar 21, 2024

…andas-dev#57764)

* fix pyarrow interchange

* reduce diff

* reduce diff

* start simplifying

* simplify, remove is_validity arg

* remove unnecessary branch

* doc maybe_rechunk

* mypy

* extra test

* mark _col unused, assert rechunking did not modify original df

* declare buffer: Buffer outside of if/else branch

(cherry picked from commit 710720e)
@MarcoGorelli MarcoGorelli changed the title BUG: PyArrow dtypes were not supported in the interchange protocol (#… Backport PR #57764 on branch 2.2.x (BUG: PyArrow dtypes were not supported in the interchange protocol) Mar 21, 2024
@MarcoGorelli MarcoGorelli added this to the 2.2.2 milestone Mar 21, 2024
@MarcoGorelli MarcoGorelli added Arrow pyarrow functionality Interchange Dataframe Interchange Protocol labels Mar 21, 2024
@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 21, 2024 16:36
@MarcoGorelli MarcoGorelli merged commit 7e8d492 into pandas-dev:2.2.x Mar 21, 2024
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Interchange Dataframe Interchange Protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant