Skip to content

ABCClasses for DatetimeArray etc? #21895

Closed
@jbrockmendel

Description

@jbrockmendel

There are a handful of places in the code where we check for for isinstance(other, ABCDatetimeIndex) or getattr(other, '_typ', None) == "datetimeindex" (and analogous places for TDI, PI). In most of these cases DatetimeArray/TimedeltaArray/PeriodArray should be handled symmetrically. Thoughts on what _typs to give them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExtensionArrayExtending pandas with custom dtypes or arrays.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions