File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11264,7 +11264,7 @@ def corr(
11264
11264
method : CorrelationMethod = "pearson" ,
11265
11265
min_periods : int = 1 ,
11266
11266
numeric_only : bool = False ,
11267
- parallel : bool = False ,
11267
+ use_parallel : bool = False ,
11268
11268
) -> DataFrame :
11269
11269
"""
11270
11270
Compute pairwise correlation of columns, excluding NA/null values.
@@ -11349,7 +11349,7 @@ def corr(
11349
11349
mat = data .to_numpy (dtype = float , na_value = np .nan , copy = False )
11350
11350
11351
11351
if method == "pearson" :
11352
- correl = libalgos .nancorr (mat , minp = min_periods , parallel = parallel )
11352
+ correl = libalgos .nancorr (mat , minp = min_periods , use_parallel = use_parallel )
11353
11353
elif method == "spearman" :
11354
11354
correl = libalgos .nancorr_spearman (mat , minp = min_periods )
11355
11355
elif method == "kendall" or callable (method ):
You can’t perform that action at this time.
0 commit comments