diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 47a2cf93a4f89..e60e6cec9d89a 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -1882,10 +1882,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then MSG='Partially validate docstrings (RT03)' ; echo $MSG $BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=RT03 --ignore_functions \ - pandas.CategoricalIndex.set_categories\ - pandas.DataFrame.astype\ - pandas.DataFrame.at_time\ - pandas.DataFrame.ewm\ pandas.DataFrame.expanding\ pandas.DataFrame.filter\ pandas.DataFrame.first_valid_index\ diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 9424e421fd85f..f1af779e00232 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6197,6 +6197,7 @@ def astype( Returns ------- same type as caller + The pandas object casted to the specified ``dtype``. See Also -------- @@ -8675,6 +8676,7 @@ def at_time(self, time, asof: bool = False, axis: Axis | None = None) -> Self: Returns ------- Series or DataFrame + The values with the specified time. Raises ------ diff --git a/pandas/core/window/ewm.py b/pandas/core/window/ewm.py index 9b21a23b1aefe..b2855ff1f4048 100644 --- a/pandas/core/window/ewm.py +++ b/pandas/core/window/ewm.py @@ -226,6 +226,8 @@ class ExponentialMovingWindow(BaseWindow): Returns ------- pandas.api.typing.ExponentialMovingWindow + An instance of ExponentialMovingWindow for further exponentially weighted (EW) + calculations, e.g. using the ``mean`` method. See Also --------