Skip to content

ENH: initialising MultiIndex with a dtypes param #54523

Open
@attack68

Description

@attack68

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

See #54521 for the motivating example.

We can currently set the dtype on an Index but there is no dtypes argument for a MultiIndex.from_tuples.
Perhaps it is enough to document how to achieve the equivalent of from_tuples by using from_arrays where the arrays are Index with a dtype set.

Feature Description

.

Alternative Solutions

.

Additional Context

.

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