diff --git a/pandas/core/window.py b/pandas/core/window.py index 2199daa743655..4b6a1cf2e9a04 100644 --- a/pandas/core/window.py +++ b/pandas/core/window.py @@ -175,7 +175,7 @@ def _dir_additions(self): def _get_window(self, other=None, **kwargs) -> int: """ - Returns window lenght + Returns window length Parameters ---------- @@ -395,7 +395,7 @@ def _apply( name : str, optional name of this function window : int/str, default to _get_window() - window lenght or offset + window length or offset center : bool, default to self.center check_minp : function, default to _use_window **kwargs