pyinterp.DescriptiveStatistics.var

DescriptiveStatistics.var(ddof: int = 0) numpy.ndarray[source]

Returns the variance of samples.

Parameters

ddof (int, optional) – Means Delta Degrees of Freedom. The divisor used in calculations is N - ddof, where N represents the number of elements. By default ddof is zero.

Returns

Returns the variance of samples.

Return type

numpy.ndarray