turicreate.SArray.var

SArray.var(ddof=0)

Variance of all the values in the SArray.

Returns None on an empty SArray. Raises an exception if called on an SArray with non-numeric type or if ddof >= length of SArray.

Parameters:
ddof : int, optional

“delta degrees of freedom” in the variance calculation.

Returns:
out : float

Variance of all values in SArray.