From 1e0a578d7126c00d4996eb2b16ada4e6d331ed5d Mon Sep 17 00:00:00 2001 From: Bernardo Gameiro <33392539+BGameiro2000@users.noreply.github.com> Date: Wed, 3 May 2023 10:02:40 +0200 Subject: [PATCH] DOC: Typo on the close argument of pandas.DataFrame.rolling The documentation "close" argument of pandas.DataFrame.rolling for option "both" had an extra "the", it is removed here. --- pandas/core/groupby/groupby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.