Skip to content

Commit aa98ed2

Browse files
DOC: fixed wrong description of default value in docstring for pandas.Series.str.replace (#53006)
1 parent 4007617 commit aa98ed2

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)