Skip to content

Commit 5eca390

Browse files
authored
DOC: fix typos in "See also" documentation section (#47712)
* DOC: fix typos in DataFrame.cov() documentation fix typos in DataFrame.cov() See also documentation section * DOC: fix a typo in expanding cummax and cummin DOC: fix a typo in expanding cummax and cummin in See also documentation section. * DOC: fix a typo in quantile documentation fix a typo in quantile "See also" documentation section * fix a lint error
1 parent 0a6be38 commit 5eca390

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10365,9 +10365,10 @@ def cov(
1036510365
See Also
1036610366
--------
1036710367
Series.cov : Compute covariance with another Series.
10368-
core.window.ExponentialMovingWindow.cov: Exponential weighted sample covariance.
10369-
core.window.Expanding.cov : Expanding sample covariance.
10370-
core.window.Rolling.cov : Rolling sample covariance.
10368+
core.window.ewm.ExponentialMovingWindow.cov : Exponential weighted sample
10369+
covariance.
10370+
core.window.expanding.Expanding.cov : Expanding sample covariance.
10371+
core.window.rolling.Rolling.cov : Rolling sample covariance.
1037110372
1037210373
Notes
1037310374
-----
@@ -11182,7 +11183,7 @@ def quantile(
1118211183
1118311184
See Also
1118411185
--------
11185-
core.window.Rolling.quantile: Rolling quantile.
11186+
core.window.rolling.Rolling.quantile: Rolling quantile.
1118611187
numpy.percentile: Numpy function to compute the percentile.
1118711188
1118811189
Examples

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12199,7 +12199,7 @@ def _doc_params(cls):
1219912199
1220012200
See Also
1220112201
--------
12202-
core.window.Expanding.{accum_func_name} : Similar functionality
12202+
core.window.expanding.Expanding.{accum_func_name} : Similar functionality
1220312203
but ignores ``NaN`` values.
1220412204
{name2}.{accum_func_name} : Return the {desc} over
1220512205
{name2} axis.

0 commit comments

Comments
 (0)