Previous topic

numpy.ndarray.mean

Next topic

numpy.ndarray.std

numpy.ndarray.var

ndarray.var(axis=None, dtype=None, out=None, ddof=0, keepdims=False)

Returns the variance of the array elements, along given axis.

Refer to numpy.var for full documentation.

See also

numpy.var
equivalent function