diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index e26b4779ef7fa..56d6aa92022f9 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -2771,7 +2771,7 @@ def rolling(self, *args, **kwargs) -> RollingGroupby: If ``'left'``, the last point in the window is excluded from calculations. - If ``'both'``, the no points in the window are excluded from calculations. + If ``'both'``, no points in the window are excluded from calculations. If ``'neither'``, the first and last points in the window are excluded from calculations.