Skip to content

Commit 62d9f8c

Browse files
davidmvalentedatapythonista
authored andcommitted
DOC: Updating Series.str.replace docstring (#22563)
1 parent 2ed8ca1 commit 62d9f8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/core/strings.py

Lines changed: 4 additions & 1 deletion
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)