Skip to content

API: How much of the EA API can we commit to? #47148

Closed
@Dr-Irv

Description

@Dr-Irv

I am working with a commercial company that has a python API that they would like to extend to better support pandas. I suggested using the ExtensionArray interface. However, at https://pandas.pydata.org/docs/development/extending.html?highlight=extensionarray#extension-types we say this:

The pandas.api.extensions.ExtensionDtype and pandas.api.extensions.ExtensionArray APIs are new and experimental. They may change between versions without warning.

This is making them wary of building something that would no longer work in the future. I told them that we have lots of things in pandas that depend on the interface, so the likelihood of it going away is very small.

I see there is discussion in #32586 about revisiting the EA interface.

Can we say that parts of the EA API are "frozen" at this point? Or could the entire API change in the future? Can we now say that the API is no longer experimental?

Comments from @jbrockmendel and @jorisvandenbossche ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignDocsExtensionArrayExtending pandas with custom dtypes or arrays.Needs DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions