Skip to content

DOC: Address other string types in Pandas 3 string migration guide #63279

@mattharrison

Description

@mattharrison

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/migration-3-strings.rst

Documentation problem

In Pandas 2.3, we had 'string[pyarrow]' and pd.ArrowDtype(pa.string())

The new guide at https://github.com/pandas-dev/pandas/blob/main/doc/source/user_guide/migration-3-strings.rst doesn't mention either.

It would be worthwhile to mention them or deprecate them.

I assume the recommended best practice is to just use 'str' for the type and disregard the other two.

Suggested fix for documentation

Mention the 2.3 types and what to migrate them to. Also whether or not it makes sense to use them at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsStringsString extension data type and string data

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions