Skip to content

Commit 20ec315

Browse files
davidmvalentevictor
authored and
victor
committed
DOC: Updating Series.str.replace docstring (pandas-dev#22563)
1 parent 78b6956 commit 20ec315

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/core/strings.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,10 @@ def str_replace(arr, pat, repl, n=-1, case=None, flags=0, regex=True):
558558
559559
Returns
560560
-------
561-
replaced : Series/Index of objects
561+
Series or Index of object
562+
A copy of the object with all matching occurrences of `pat` replaced by
563+
`repl`.
564+
562565
563566
Raises
564567
------

0 commit comments

Comments
 (0)