diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c28b2b8dd8f64..8263f8379b01c 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -83,7 +83,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Index PR07" \ -i "pandas.Index.join PR07,RT03,SA01" \ -i "pandas.Index.ravel PR01,RT03" \ - -i "pandas.Index.str PR01,SA01" \ -i "pandas.Interval PR02" \ -i "pandas.IntervalIndex.closed SA01" \ -i "pandas.IntervalIndex.contains RT03" \ @@ -232,7 +231,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.sparse.sp_values SA01" \ -i "pandas.Series.sparse.to_coo PR07,RT03,SA01" \ -i "pandas.Series.std PR01,RT03,SA01" \ - -i "pandas.Series.str PR01,SA01" \ -i "pandas.Series.str.capitalize RT03" \ -i "pandas.Series.str.casefold RT03" \ -i "pandas.Series.str.center RT03,SA01" \ diff --git a/pandas/core/strings/accessor.py b/pandas/core/strings/accessor.py index d274c1d7a5aff..c2165ef614265 100644 --- a/pandas/core/strings/accessor.py +++ b/pandas/core/strings/accessor.py @@ -162,6 +162,16 @@ class StringMethods(NoNewAttributesMixin): Patterned after Python's string methods, with some inspiration from R's stringr package. + Parameters + ---------- + data : Series or Index + The content of the Series or Index. + + See Also + -------- + Series.str : Vectorized string functions for Series. + Index.str : Vectorized string functions for Index. + Examples -------- >>> s = pd.Series(["A_Str_Series"])