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

Method cov

dask/dataframe/dask_expr/_collection.py:4593–4597  ·  view source on GitHub ↗
(self, other, min_periods=None, split_every=False)

Source from the content-addressed store, hash-verified

4591
4592 @derived_from(pd.Series)
4593 def cov(self, other, min_periods=None, split_every=False):
4594 if not isinstance(other, Series):
4595 raise TypeError("other must be a dask.dataframe.Series")
4596 df = concat([self, other], axis=1)
4597 return df._cov(min_periods, True, split_every, scalar=True)
4598
4599 @derived_from(pd.Series)
4600 def corr(self, other, method="pearson", min_periods=None, split_every=False):

Callers 1

_prepare_cov_corrMethod · 0.45

Calls 2

_covMethod · 0.80
concatFunction · 0.70

Tested by

no test coverage detected