Skip to content

REF/API: Move ArrowDtype(pa.foo_string()) into StringDtype(...) #62129

@jbrockmendel

Description

@jbrockmendel

This came up when reviewing #62118. There are too many StringDtypes and FooStringArrays. Apparently pd.ArrowDtype can accommodate some specific types of pyarrow strings that StringDtype(storage="pyarrow") cannot. I propose that we

  1. Extend pd.StringDtype (and ArrowStringArray) to allow it to support the specific variants of pyarrow strings we want to support
  2. Deprecate support for those in ArrowDtype/ArrowEA, moving users to the StringArray.
  3. Try to refactor all the FooStringArray variants down to just one StringArray.

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