Skip to content

BUG: replace of numeric by string / dtype coversion #15743

Closed
@jreback

Description

@jreback

xref #12747

This was an item not closed by #12780 (but listed in #12747)

In [2]: pd.Series([1,2,3]).replace('1', np.nan)
Out[2]: 
0    NaN
1    2.0
2    3.0
dtype: float64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions