Skip to content

TYP: NumericIndex._can_hold_na #43390

Closed
Closed
@twoertwein

Description

@twoertwein

Index._can_hold_na: bool
NumericIndex._can_hold_na: property-like (cache_readonly)

bool is not a property-like object.

pandas/core/indexes/numeric.py:103: error: Signature of "_can_hold_na" incompatible with supertype "Index" [override]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions