polars.spearman_rank_corr

polars.spearman_rank_corr(a: Union[str, polars.internals.expr.Expr], b: Union[str, polars.internals.expr.Expr]) polars.internals.expr.Expr

Compute the spearman rank correlation between two columns.

Parameters
a

Column name or Expression.

b

Column name or Expression.