From d53da08227b79e23545b90c99d4ae572d565194b Mon Sep 17 00:00:00 2001 From: Katsiaryna Date: Sat, 3 Aug 2024 19:15:38 +0100 Subject: [PATCH 1/2] DOC: Fix pandas.Series.str.get RT03,SA01 --- pandas/core/strings/accessor.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index dd9276179cf4d..60f25ea44dc73 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -1085,6 +1085,13 @@ def get(self, i): Returns ------- Series or Index + Series or Index where each value is the extracted element from + the corresponding input component. + + See Also + -------- + Series.str.extract : Extract capture groups in the regex as columns + in a DataFrame. Examples -------- From 3798136b67a0a734ecfca15f413389d97e2efb21 Mon Sep 17 00:00:00 2001 From: Katsiaryna Date: Sat, 3 Aug 2024 19:16:42 +0100 Subject: [PATCH 2/2] DOC: remove pandas.Series.str.get from code_checks.sh --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index ebcc99100be70..afa58ec7d0208 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -167,7 +167,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.str.encode PR07,RT03,SA01" \ -i "pandas.Series.str.find RT03" \ -i "pandas.Series.str.fullmatch RT03" \ - -i "pandas.Series.str.get RT03,SA01" \ -i "pandas.Series.str.index RT03" \ -i "pandas.Series.str.ljust RT03,SA01" \ -i "pandas.Series.str.lower RT03" \