Skip to content

DEPR: Index == Series should return NotImplemented #36759

Open
@jbrockmendel

Description

@jbrockmendel

ATM index == series returns an ndarray because Index.__eq__ does not return NotImplemented. It isn't clear to me what the reason for this is. The special casing leads to a non-trivial amount of complexity in the code and especially in the tests.

We should deprecate this special casing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions