Skip to content

Implement Python dataframe interchange protocol #1030

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

Open
gdementen opened this issue Oct 11, 2022 · 1 comment
Open

Implement Python dataframe interchange protocol #1030

gdementen opened this issue Oct 11, 2022 · 1 comment

Comments

@gdementen
Copy link
Contributor

Pandas 1.5 introduced a new dataframe protocol via the __dataframe__ method.

With some luck, this would make LArray objects work as input with libraries like statsmodels, when those libraries support that (which should happen relatively quickly I suppose).

https://data-apis.org/dataframe-protocol/latest/API.html

@gdementen
Copy link
Contributor Author

Projects (notably Pandas and Polars) are already moving away from it in favor of the PyCapsule interface. I don't think they will drop support for the protocol soon but they are favouring the PyCapsule interface.

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

1 participant