Skip to content

FutureWarning: The default value of regex will change from True to False in a future version. #1

@dfukagaw28

Description

@dfukagaw28

pandas.Series.str.replace() では正規表現がデフォルトで有効だが,将来的には正規表現は無効がデフォルトとなる。

pandas-dev/pandas@1b9641c
pandas-dev/pandas#36695

対策としては,オプション regex=True を付けて正規表現を有効にすることを明示すればよい。

参考: https://pandas.pydata.org/docs/reference/api/pandas.Series.str.replace.html

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