Function polars::functions::pearson_corr [−][src]
pub fn pearson_corr<T>(
a: &ChunkedArray<T>,
b: &ChunkedArray<T>
) -> Option<<T as ArrowPrimitiveType>::Native> where
T: PolarsFloatType,
<T as ArrowPrimitiveType>::Native: Float,
ChunkedArray<T>: ChunkVar<<T as ArrowPrimitiveType>::Native>,
Expand description
Compute the pearson correlation between two columns.