Skip to content

Commit f752886

Browse files
GeraintDuckjorisvandenbossche
authored andcommitted
DOC: Corrected Series.str.extract documentation error (#13449)
1 parent f98b4b5 commit f752886

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
@@ -543,7 +543,7 @@ def str_extract(arr, pat, flags=0, expand=None):
543543
each group. Any capture group names in regular expression pat will
544544
be used for column names; otherwise capture group numbers will be
545545
used. The dtype of each result column is always object, even when
546-
no match is found. If expand=True and pat has only one capture group,
546+
no match is found. If expand=False and pat has only one capture group,
547547
then return a Series (if subject is a Series) or Index (if subject
548548
is an Index).
549549

0 commit comments

Comments
 (0)