pub fn contingency_table(col1: &Array1<f64>, col2: &Array1<f64>) -> Array2<f64>Expand description
Count how often each pair (col1[i], col2[i]) occurs and return the
counts as a 2D table. Rows and columns are ordered by value, so the
result does not depend on the order of the inputs.