Skip to content

ENH: Make ExtensionDtype.numpy_dtype part of the interface? #62268

@mroeschke

Description

@mroeschke

pandas.ArrowDtype and nullable types define numpy_dtype to express the analogous NumPy type. Should ExtensionDtype.numpy_dtype be part of the interface as well, defaulting to np.dtype(object)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementExtensionArrayExtending pandas with custom dtypes or arrays.Needs 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