Concept Flow - Covariance with np.cov()
Start with two data arrays
Calculate mean of each array
Calculate deviations from mean
Multiply deviations pairwise
Sum and average these products
Return covariance matrix
End
np.cov() takes two data arrays, calculates how they vary together, and returns a covariance matrix.