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