Open fkemeth opened 7 months ago
It is implemented in polars.rolling_corr, but, as I understand it, rolling_corr
does have different output than polars.corr
.
The feature of min_periods
in polars.corr
is usefull for collaborative filtering/recommender system applications, for example.
Description
Add optional integer parameter
min_periods
topolars.corr
, i.e. add option to require for Pearson/Spearman correlation coefficient to return non-null values only when enough rows have non-null values in common.See also the example here.