Function polars_core::functions::cov

source ·
pub fn cov<T>(a: &ChunkedArray<T>, b: &ChunkedArray<T>) -> Option<f64>
where T: PolarsNumericType, T::Native: ToPrimitive, <T::Native as Simd>::Simd: Add<Output = <T::Native as Simd>::Simd> + Sum<T::Native> + SimdOrd<T::Native>,
Expand description

Compute the covariance between two columns.