Skip to content

error: No overload variant of "replace" of "DataFrame" matches argument types "str", "NAType" [call-overload] #262

Closed
@randolf-scholz

Description

@randolf-scholz
import pandas as pd
frame = pd.DataFrame(["N/A", "foo", "bar"])
frame = frame.replace("N/A", pd.NA)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions