Function polars_lazy::dsl::spearman_rank_corr
pub fn spearman_rank_corr(
a: Expr,
b: Expr,
ddof: u8,
propagate_nans: bool
) -> ExprAvailable on crate features
rank and propagate_nans only.Expand description
Compute the spearman rank correlation between two columns. Missing data will be excluded from the computation.
ยงArguments
- ddof Delta degrees of freedom
- propagate_nans
If
trueanyNaNencountered will lead toNaNin the output. If tofalsethenNaNare regarded as larger than any finite number and thus lead to the highest rank.