Skip to content

Support create_index: bool in to_dataframe to skip creating MultiIndex #10912

@dcherian

Description

@dcherian

Is your feature request related to a problem?

stack lets a user skip creating a potentially expensive MultiIndex by passing create_index=False.

Describe the solution you'd like

We should support the same kwarg in to_dataframe for the same reason.

Describe alternatives you've considered

Expect the user to know that the MultiIndex creation is potentially expensive; and call reset_coords before-hand. This seems too niche.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions