Function polars_core::functions::pearson_corr_i
source · [−]pub fn pearson_corr_i<T>(
a: &ChunkedArray<T>,
b: &ChunkedArray<T>
) -> Option<f64> where
T: PolarsIntegerType,
T::Native: ToPrimitive,
<T::Native as Simd>::Simd: Add<Output = <T::Native as Simd>::Simd> + Sum<T::Native> + SimdOrd<T::Native>,
ChunkedArray<T>: ChunkVar<f64>,
Expand description
Compute the pearson correlation between two columns.