Skip to content

.astype("object") broken #580

Closed
Closed
@jonashaag

Description

@jonashaag

Describe the bug
See below.

To Reproduce

df = pd.DataFrame({"x": [42]})
df["x"] = df["x"].astype("str")     # ok
df["x"] = df["x"].astype("object")  # fails

Please complete the following information:

Version 1.5.3.230304

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