8000 DEPR: Series.__getitem__, Series.__setitem__ · Issue #50617 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content
DEPR: Series.__getitem__, Series.__setitem__ #50617
@jbrockmendel

Description

@jbrockmendel

Trying to guess whether e.g. ser[2], ser[:2] is intended to be positional or label-based is a hassle, and in the slicing case we are inconsistent about it. Let's get rid of this problem once and for all by deprecating these and telling users to use loc or iloc instead.

Discussed in #49612

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasNeeds 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

      0