Skip to content

enh: Passing arguments to pa.Table.to_pandas #2123

Open
@MarcoGorelli

Description

@MarcoGorelli

Discussed in #2121

Originally posted by dhirschfeld February 28, 2025
In my current code I have a very large pa.Table that I want to convert to pd.DataFrame. In the to_pandas call I specify split_blocks and self_destruct as I don't want 2 copies of the data in memory.

I'm thinking of porting this code to narwhals so was wondering if there's a way to do the same - convert to a pa.Table to different format without doubling the memory requirements?

I'm interest in converting to either pandas or polars hence why I thought narwhals might be a good fit.

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