diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 59cbc075b5bc8..f37547e9cea9e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -158,7 +158,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.product RT03" \ -i "pandas.Series.reorder_levels RT03,SA01" \ -i "pandas.Series.sem PR01,RT03,SA01" \ - -i "pandas.Series.skew SA01" \ -i "pandas.Series.sparse PR01,SA01" \ -i "pandas.Series.sparse.density SA01" \ -i "pandas.Series.sparse.fill_value SA01" \ diff --git a/pandas/core/generic.py b/pandas/core/generic.py index fc9821a65777d..5913532e28ec2 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12481,6 +12481,14 @@ def last_valid_index(self) -> Hashable: stat_func="min", verb="Min", default_output=0, level_output_0=2, level_output_1=0 ) +_skew_see_also = """ + +See Also +-------- +Series.skew : Return unbiased skew over requested axis. +Series.var : Return unbiased variance over requested axis. +Series.std : Return unbiased standard deviation over requested axis.""" + _stat_func_see_also = """ See Also @@ -12740,7 +12748,7 @@ def make_doc(name: str, ndim: int) -> str: elif name == "skew": base_doc = _num_doc desc = "Return unbiased skew over requested axis.\n\nNormalized by N-1." - see_also = "" + see_also = _skew_see_also examples = """ Examples