polars.pearson_corr

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

Compute the pearson’s correlation between two columns.

Parameters
a

Column name or Expression.

b

Column name or Expression.