Skip to content

Make PyDataFrame.inner_df() public #1354

@ryansun96

Description

@ryansun96

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Current python bindings allow users to implement rust extension while majority of their logic stays in python. In my project, I'm trying to do the opposite: having majority of the logic in rust with some entry point in Python. The user would make a DataFrame from some raw data in Python and pass it to the rust logic for processing.

Current implementation of PyDataFrame does not allow the "real / inner" rust data frame to be accessed, because inner_df is pub(crate).

Describe the solution you'd like

Make PyDataFrame.inner_df() pub.

Describe alternatives you've considered

Open to advice if the above workflow is not recommended, as I'm quite new to datafusion and rust.

Additional context

This should not cause any breaking change since we are expanding the visibility.

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