Skip to content

Implement Python dataframe interchange protocol  #1030

Open
@gdementen

Description

@gdementen

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

Activity

gdementen

gdementen commented on Apr 7, 2025

@gdementen
ContributorAuthor

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Implement Python dataframe interchange protocol · Issue #1030 · larray-project/larray