Skip to content

Commit 3b1f0c7

Browse files
author
MomIsBestFriend
committed
Added scipy to dep list of azure-macOS and azure-36-32bit
1 parent 812cfc2 commit 3b1f0c7

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

ci/deps/azure-36-32bit.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies:
1818
- numpy=1.14.*
1919
- python-dateutil
2020
- pytz=2017.2
21+
- scipy>=1.1
2122

2223
# see comment above
2324
- pip

ci/deps/azure-macos-36.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ dependencies:
2626
- pytables
2727
- python-dateutil==2.6.1
2828
- pytz
29+
- scipy>=1.1
2930
- xarray
3031
- xlrd
3132
- xlsxwriter

pandas/core/nanops.py

-1
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,6 @@ def nancorr(
13051305

13061306
def get_corr_func(method) -> Callable:
13071307
if method in ["kendall", "spearman", "pearson"]:
1308-
import scipy.stats
13091308
from scipy.stats import kendalltau, spearmanr
13101309
elif callable(method):
13111310
return method

0 commit comments

Comments
 (0)