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