NumPy · Function
np.cov
numpy.cov estimates how variables vary together and returns their covariance matrix. By default, rows are variables and columns are observations.
Last updated
- Since
- 1.20
Syntax
numpy.cov(m, y=None, rowvar=True, bias=False, ddof=None, fweights=None, aweights=None, *, dtype=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
corrcoef