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

[Python] DataFrame Interchange Protocol for pyarrow.RecordBatch #33926

Closed
Tracked by #33982
AlenkaF opened this issue Jan 30, 2023 · 0 comments · Fixed by #34294
Closed
Tracked by #33982

[Python] DataFrame Interchange Protocol for pyarrow.RecordBatch #33926

AlenkaF opened this issue Jan 30, 2023 · 0 comments · Fixed by #34294

Comments

@AlenkaF
Copy link
Member

AlenkaF commented Jan 30, 2023

Describe the enhancement requested

Add the implementation of the Dataframe Interchange Protocol for pyarrow.RecordBatch also. The protocol is already implemented for pyarrow.Table, see #14804.

Python dataframe interchange protocol spec: https://data-apis.org/dataframe-protocol/latest/index.html

Component(s)

Python

@AlenkaF AlenkaF self-assigned this Jan 30, 2023
jorisvandenbossche pushed a commit that referenced this issue Feb 28, 2023
…atch (#34294)

### Rationale for this change
Add the implementation of the Dataframe Interchange Protocol for `pyarrow.RecordBatch`. The protocol is already implemented for pyarrow.Table, see #14804.

### Are these changes tested?
Yes, tests are added to:

- python/pyarrow/tests/interchange/test_interchange_spec.py
- python/pyarrow/tests/interchange/test_conversion.py
* Closes: #33926

Authored-by: Alenka Frim <frim.alenka@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
@jorisvandenbossche jorisvandenbossche added this to the 12.0.0 milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants