Skip to content

DataFrame.replace only replaces the first occurrence of replacement pattern #6689

Closed
@fonnesbeck

Description

@fonnesbeck

This is best explained by a screenshot:

bad_replace

I'm running a pretty recent build of Pandas ('0.13.1-213-gc174c3d') on Python 2.7.5 on OS X 0.9.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions