Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dfukagaw28 opened this issue May 17, 2022 · 0 comments

Comments

@dfukagaw28
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant