Skip to content

API: to/from polars #978

Description

@wasade

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions