Skip to content

Commit 564c0fa

Browse files
StefanieSengerYi Wei
authored and
Yi Wei
committed
DOC: fixed wrong description of default value in docstring for pandas.Series.str.replace (pandas-dev#53006)
1 parent d918a05 commit 564c0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings/accessor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ def replace(
13911391
13921392
Examples
13931393
--------
1394-
When `pat` is a string and `regex` is True (the default), the given `pat`
1394+
When `pat` is a string and `regex` is True, the given `pat`
13951395
is compiled as a regex. When `repl` is a string, it replaces matching
13961396
regex patterns as with :meth:`re.sub`. NaN value(s) in the Series are
13971397
left as is:

0 commit comments

Comments
 (0)