class Variance(expression, sample=False, **extra)
[source]
Returns the variance of the data in the provided expression.
- Default alias:
<field>__variance
- Return type:
float
Has one optional argument:
-
sample
-
By default,
Variance
returns the population variance. However, ifsample=True
, the return value will be the sample variance.
SQLite
SQLite doesn’t provide Variance
out of the box. An implementation is available as an extension module for SQLite. Consult the SQlite documentation for instructions on obtaining and installing this extension.
Please login to continue.