Skip to content

DEPR: DataFrame.__getitem__[str] sometimes slices on index #31476

Closed
@jbrockmendel

Description

@jbrockmendel

xref #31334, #9595

  • This is a tiny corner case, at least as measured by tests cases (2 tests reach this)
  • With this removed, the __getitem__ API becomes much simpler to describe: "DataFrame.getitem` is always column-based"

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasIndexingRelated to indexing on series/frames, not to indexes themselvesNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions