Skip to content

Commit 72e3a32

Browse files
DOC: Fix pandas.Series.str.get RT03,SA01 (#59396)
* DOC: Fix pandas.Series.str.get RT03,SA01 * DOC: remove pandas.Series.str.get from code_checks.sh
1 parent b3215b5 commit 72e3a32

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
166166
-i "pandas.Series.str.decode PR07,RT03,SA01" \
167167
-i "pandas.Series.str.encode PR07,RT03,SA01" \
168168
-i "pandas.Series.str.fullmatch RT03" \
169-
-i "pandas.Series.str.get RT03,SA01" \
170169
-i "pandas.Series.str.index RT03" \
171170
-i "pandas.Series.str.ljust RT03,SA01" \
172171
-i "pandas.Series.str.lower RT03" \

pandas/core/strings/accessor.py

+7
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,13 @@ def get(self, i):
10851085
Returns
10861086
-------
10871087
Series or Index
1088+
Series or Index where each value is the extracted element from
1089+
the corresponding input component.
1090+
1091+
See Also
1092+
--------
1093+
Series.str.extract : Extract capture groups in the regex as columns
1094+
in a DataFrame.
10881095
10891096
Examples
10901097
--------

0 commit comments

Comments
 (0)