Skip to content

Commit 015c1c1

Browse files
authored
Made apt changes to the documentation for pandas.Series.str.replace() (#32478)
1 parent f6b3e82 commit 015c1c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def str_replace(arr, pat, repl, n=-1, case=None, flags=0, regex=True):
572572
r"""
573573
Replace occurrences of pattern/regex in the Series/Index with
574574
some other string. Equivalent to :meth:`str.replace` or
575-
:func:`re.sub`.
575+
:func:`re.sub`, depending on the regex value.
576576
577577
Parameters
578578
----------

0 commit comments

Comments
 (0)