Skip to content

Commit 454194e

Browse files
authored
DOC: Fix window pairwise function other not taking ndarray (#40410)
1 parent 0203f8d commit 454194e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pandas/core/window/ewm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def var_func(values, begin, end, min_periods):
447447
create_section_header("Parameters"),
448448
dedent(
449449
"""
450-
other : Series, DataFrame, or ndarray, optional
450+
other : Series or DataFrame , optional
451451
If not supplied then will default to self and produce pairwise
452452
output.
453453
pairwise : bool, default None
@@ -514,7 +514,7 @@ def cov_func(x, y):
514514
create_section_header("Parameters"),
515515
dedent(
516516
"""
517-
other : Series, DataFrame, or ndarray, optional
517+
other : Series or DataFrame, optional
518518
If not supplied then will default to self and produce pairwise
519519
output.
520520
pairwise : bool, default None

pandas/core/window/expanding.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def quantile(
560560
create_section_header("Parameters"),
561561
dedent(
562562
"""
563-
other : Series, DataFrame, or ndarray, optional
563+
other : Series or DataFrame, optional
564564
If not supplied then will default to self and produce pairwise
565565
output.
566566
pairwise : bool, default None
@@ -598,7 +598,7 @@ def cov(
598598
create_section_header("Parameters"),
599599
dedent(
600600
"""
601-
other : Series, DataFrame, or ndarray, optional
601+
other : Series or DataFrame, optional
602602
If not supplied then will default to self and produce pairwise
603603
output.
604604
pairwise : bool, default None

pandas/core/window/rolling.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ def quantile(self, quantile: float, interpolation: str = "linear", **kwargs):
21112111
create_section_header("Parameters"),
21122112
dedent(
21132113
"""
2114-
other : Series, DataFrame, or ndarray, optional
2114+
other : Series or DataFrame, optional
21152115
If not supplied then will default to self and produce pairwise
21162116
output.
21172117
pairwise : bool, default None
@@ -2149,7 +2149,7 @@ def cov(
21492149
create_section_header("Parameters"),
21502150
dedent(
21512151
"""
2152-
other : Series, DataFrame, or ndarray, optional
2152+
other : Series or DataFrame, optional
21532153
If not supplied then will default to self and produce pairwise
21542154
output.
21552155
pairwise : bool, default None

0 commit comments

Comments
 (0)