Skip to content

BUG: Never end up with numpy string dtypes #39566

Open
@phofl

Description

@phofl
  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • (optional) I have confirmed this bug exists on the master branch of pandas.


Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.

Code Sample, a copy-pastable example

DataFrame(["foo", "bar", "baz"]).astype(bytes)

As discussed in #39484 we do not want to get numpy string dtypes here. This should have dtype object

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeprecateFunctionality to remove in pandasDtype ConversionsUnexpected or buggy dtype conversionsStringsString extension data type and string data

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions