Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: fix wrongly placed versionadded #16702

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pandas/core/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down