Skip to content

Support for empty slice in multi indices #8737

Closed
@SylvainCorlay

Description

@SylvainCorlay

It is currently possible to pass a list of labels for a given dataframe to DataFrame.loc in the case of a multi index, but the list cannot be empty unlike in the case of a non-hierarchical index.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIndexingRelated to indexing on series/frames, not to indexes themselvesMultiIndex

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions