Skip to content

ENH: Index.method(target: Index[same_dtype_as_self]) #1716

@jbrockmendel

Description

@jbrockmendel

There are a bunch of Index methods e.g. _get_indexer, _union that take an other or target argument that should be another Index with the same dtype as self. I'd like a way to express that via annotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions