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

API: to/from polars #978

Open
wasade opened this issue Oct 1, 2024 · 0 comments
Open

API: to/from polars #978

wasade opened this issue Oct 1, 2024 · 0 comments

Comments

@wasade
Copy link
Member

wasade commented Oct 1, 2024

It would be pleasant to support to/from operations for both pl.DataFrame and pl.LazyFrame.

Mirroring duckdb, it would be pleasant to alias to_polars_dataframe as .pl().

In addressing this issue, the to_dataframe method should be renamed to to_pandas_dataframe, with to_dataframe aliasing against it to preserve the API. We should additionally provide a short hand of .df() for obtaining the 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