Skip to content

Commit 91c883d

Browse files
author
Joost Kranendonk
authored
Update .str.replace docstring
As suggested by @jreback
1 parent 6ecc43d commit 91c883d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/strings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ def str_replace(arr, pat, repl, n=-1, case=True, flags=0):
303303
----------
304304
pat : string
305305
Character sequence or regular expression
306-
repl : string or function
307-
Replacement string or a function, which passed the match object and
306+
repl : string or callable
307+
Replacement string or a callable, it's passed the match object and
308308
must return a replacement string to be used. See :func:`re.sub`.
309309
n : int, default -1 (all)
310310
Number of replacements to make from start

0 commit comments

Comments
 (0)