diff --git a/pandas/core/strings.py b/pandas/core/strings.py index c57d7a9362490..4814e78ee6546 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -611,11 +611,12 @@ def str_extract(arr, pat, flags=0, expand=None): flags : int, default 0 (no flags) re module flags, e.g. re.IGNORECASE - .. versionadded:: 0.18.0 expand : bool, default False * If True, return DataFrame. * If False, return Series/Index/DataFrame. + .. versionadded:: 0.18.0 + Returns ------- DataFrame with one row for each subject string, and one column for