Skip to content

Commit 5591ef3

Browse files
DOC: Fix pandas.Series.str.index RT03 (#59397)
* DOC: fix pandas.Series.str.index RT03 * DOC: Remove pandas.Series.str.index RT03 from ci checks * remove pandas.Series.str.rindex RT03 from ci check
1 parent 3a7d82d commit 5591ef3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ci/code_checks.sh

-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
163163
-i "pandas.Series.str.center RT03,SA01" \
164164
-i "pandas.Series.str.decode PR07,RT03,SA01" \
165165
-i "pandas.Series.str.encode PR07,RT03,SA01" \
166-
-i "pandas.Series.str.index RT03" \
167166
-i "pandas.Series.str.ljust RT03,SA01" \
168167
-i "pandas.Series.str.lower RT03" \
169168
-i "pandas.Series.str.lstrip RT03" \
@@ -172,7 +171,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
172171
-i "pandas.Series.str.partition RT03" \
173172
-i "pandas.Series.str.repeat SA01" \
174173
-i "pandas.Series.str.replace SA01" \
175-
-i "pandas.Series.str.rindex RT03" \
176174
-i "pandas.Series.str.rjust RT03,SA01" \
177175
-i "pandas.Series.str.rpartition RT03" \
178176
-i "pandas.Series.str.rstrip RT03" \

pandas/core/strings/accessor.py

+2
Original file line numberDiff line numberDiff line change
@@ -3092,6 +3092,8 @@ def normalize(self, form):
30923092
Returns
30933093
-------
30943094
Series or Index of object
3095+
Returns a Series or an Index of the %(side)s indexes
3096+
in each string of the input.
30953097
30963098
See Also
30973099
--------

0 commit comments

Comments
 (0)