polars.cov

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

Compute the covariance between two columns/ expressions.

Parameters
a

Column name or Expression.

b

Column name or Expression.