Skip to content

Additional dataframe export functions #235

Description

@simicd

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
In order to make it easier to use datafusion with other Python libraries, implement additional export functions:

  • to_arrow_table: Construct Arrow Table; this can be used for instance to create a polars dataframe
  • to_pylist: Each list item represents one row encoded as dictionary
  • to_pydict: Each dictionary key is a column and the dictionary value represents the column values

Describe the solution you'd like
Implement functions using pyarrow Table to_... methods

Describe alternatives you've considered
n/a

Additional context
See also conversation in #139

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions