@@ -1354,7 +1354,7 @@ def quantile(self, quantile: float, interpolation: str = "linear", **kwargs):
1354
1354
1355
1355
def cov (
1356
1356
self ,
1357
- other : Optional [Union [ np . ndarray , FrameOrSeriesUnion ] ] = None ,
1357
+ other : Optional [FrameOrSeriesUnion ] = None ,
1358
1358
pairwise : Optional [bool ] = None ,
1359
1359
ddof : int = 1 ,
1360
1360
** kwargs ,
@@ -1392,7 +1392,7 @@ def cov_func(x, y):
1392
1392
1393
1393
def corr (
1394
1394
self ,
1395
- other : Optional [Union [ np . ndarray , FrameOrSeriesUnion ] ] = None ,
1395
+ other : Optional [FrameOrSeriesUnion ] = None ,
1396
1396
pairwise : Optional [bool ] = None ,
1397
1397
ddof : int = 1 ,
1398
1398
** kwargs ,
@@ -2137,7 +2137,7 @@ def quantile(self, quantile: float, interpolation: str = "linear", **kwargs):
2137
2137
)
2138
2138
def cov (
2139
2139
self ,
2140
- other : Optional [Union [ np . ndarray , FrameOrSeriesUnion ] ] = None ,
2140
+ other : Optional [FrameOrSeriesUnion ] = None ,
2141
2141
pairwise : Optional [bool ] = None ,
2142
2142
ddof : int = 1 ,
2143
2143
** kwargs ,
@@ -2262,7 +2262,7 @@ def cov(
2262
2262
)
2263
2263
def corr (
2264
2264
self ,
2265
- other : Optional [Union [ np . ndarray , FrameOrSeriesUnion ] ] = None ,
2265
+ other : Optional [FrameOrSeriesUnion ] = None ,
2266
2266
pairwise : Optional [bool ] = None ,
2267
2267
ddof : int = 1 ,
2268
2268
** kwargs ,
0 commit comments