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 #33982

Closed
5 tasks done
AlenkaF opened this issue Feb 1, 2023 · 3 comments
Closed
5 tasks done

[Python] DataFrame Interchange Protocol #33982

AlenkaF opened this issue Feb 1, 2023 · 3 comments

Comments

@AlenkaF
Copy link
Member

AlenkaF commented Feb 1, 2023

Describe the enhancement requested

This is an umbrella issue for all tasks connected to the Dataframe Interchange Protocol.
https://data-apis.org/dataframe-protocol/latest/index.html

Component(s)

Python

@stinodego
Copy link

I noticed that there is currently no support yet in the from_dataframe function for boolean columns with bitsize 1. Is there an issue for implementing this?

import polars as pl
import pyarrow as pa
import pyarrow.interchange

df = pl.Series("a", [True, False], dtype=pl.Boolean).to_frame()
dfi = df.__dataframe__()
pa.interchange.from_dataframe(dfi)
# NotImplementedError: Conversion for (<DtypeKind.BOOL: 20>, 1, 'b', '=') is not yet supported.

@AlenkaF
Copy link
Member Author

AlenkaF commented Aug 14, 2023

No, there is no issue - I think we missed it as we didn't have the use case then.
Will open a new issue to implement it, thanks!

@AlenkaF
Copy link
Member Author

AlenkaF commented Jan 8, 2024

Closing this issue as all tasks are done.

@AlenkaF AlenkaF closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants