I am trying to write a simple covariance matrix function in Python.
import numpy as np def manual_covariance(x): mean = x.mean(axis=1) print(x.shape[