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

support any frames with __dataframe__ #229

Open
machow opened this issue Mar 5, 2024 · 0 comments
Open

support any frames with __dataframe__ #229

machow opened this issue Mar 5, 2024 · 0 comments

Comments

@machow
Copy link
Collaborator

machow commented Mar 5, 2024

See https://data-apis.org/dataframe-api/draft/. This protocol allows DataFrames to expose a version of themselves that supports a shared set of methods. We could use this to implement a third kind of frame support: supporting frames implementing this interface.

For an initial implementation, we probably wouldn't accept much beyond basic column selection. But in the deep future, could allow integration with their lazy expression systems (e.g. a lazy expression from some frame system gets applied to the frame, using great_tables._tbl_data.eval_transform(), dispatched on the corresponding, underlying frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant