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,
ChunkedArray<T>: ChunkVar<T::Native>,
Expand description
Compute the pearson correlation between two columns.