MCPcopy Create free account
hub / github.com/dask/dask / corr

Method corr

dask/dataframe/dask_expr/_collection.py:4565–4569  ·  view source on GitHub ↗
(self, other, method="pearson", min_periods=None, split_every=False)

Source from the content-addressed store, hash-verified

4563
4564 @derived_from(pd.Series)
4565 def corr(self, other, method="pearson", min_periods=None, split_every=False):
4566 if not isinstance(other, Series):
4567 raise TypeError("other must be a dask.dataframe.Series")
4568 df = concat([self, other], axis=1)
4569 return df._corr(method, min_periods, True, split_every, scalar=True)
4570
4571 @derived_from(pd.Series)
4572 def autocorr(self, lag=1, split_every=False):

Callers 1

autocorrMethod · 0.95

Calls 2

_corrMethod · 0.80
concatFunction · 0.70

Tested by

no test coverage detected