From e008b3ab5dd764682cefe0264b3939ad45233715 Mon Sep 17 00:00:00 2001 From: partev Date: Wed, 13 Jul 2022 21:44:20 -0400 Subject: [PATCH 1/4] DOC: fix typos in DataFrame.cov() documentation fix typos in DataFrame.cov() See also documentation section --- pandas/core/frame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index ead4ea744c647..82270b0f70bce 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10355,9 +10355,9 @@ def cov( See Also -------- Series.cov : Compute covariance with another Series. - core.window.ExponentialMovingWindow.cov: Exponential weighted sample covariance. - core.window.Expanding.cov : Expanding sample covariance. - core.window.Rolling.cov : Rolling sample covariance. + core.window.ewm.ExponentialMovingWindow.cov: Exponential weighted sample covariance. + core.window.expanding.Expanding.cov : Expanding sample covariance. + core.window.rolling.Rolling.cov : Rolling sample covariance. Notes ----- From 8e66c1e1da6f3ce1c795fdec2a2cab10b2bda9b0 Mon Sep 17 00:00:00 2001 From: partev Date: Wed, 13 Jul 2022 21:51:19 -0400 Subject: [PATCH 2/4] DOC: fix a typo in expanding cummax and cummin DOC: fix a typo in expanding cummax and cummin in See also documentation section. --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index e392802bdb5ea..4d3932471522b 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -12190,7 +12190,7 @@ def _doc_params(cls): See Also -------- -core.window.Expanding.{accum_func_name} : Similar functionality +core.window.expanding.Expanding.{accum_func_name} : Similar functionality but ignores ``NaN`` values. {name2}.{accum_func_name} : Return the {desc} over {name2} axis. From 71834788eb280936a80fad23a80b3942dd312ee1 Mon Sep 17 00:00:00 2001 From: partev Date: Wed, 13 Jul 2022 22:01:19 -0400 Subject: [PATCH 3/4] DOC: fix a typo in quantile documentation fix a typo in quantile "See also" documentation section --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 82270b0f70bce..72b8ca41c5f6e 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -11167,7 +11167,7 @@ def quantile( See Also -------- - core.window.Rolling.quantile: Rolling quantile. + core.window.rolling.Rolling.quantile: Rolling quantile. numpy.percentile: Numpy function to compute the percentile. Examples From 51876251f20ea2ec3fbdbab876e1fb0b2a1c5f1e Mon Sep 17 00:00:00 2001 From: partev Date: Sat, 16 Jul 2022 07:53:51 -0400 Subject: [PATCH 4/4] fix a lint error --- pandas/core/frame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 82b2a5c64986c..5c3fdf04c4342 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10355,7 +10355,8 @@ def cov( See Also -------- Series.cov : Compute covariance with another Series. - core.window.ewm.ExponentialMovingWindow.cov: Exponential weighted sample covariance. + core.window.ewm.ExponentialMovingWindow.cov : Exponential weighted sample + covariance. core.window.expanding.Expanding.cov : Expanding sample covariance. core.window.rolling.Rolling.cov : Rolling sample covariance.