class StdDev(expression, sample=False, **extra)
[source]
Returns the standard deviation of the data in the provided expression.
- Default alias:
<field>__stddev
- Return type:
float
Has one optional argument:
-
sample
-
By default,
StdDev
returns the population standard deviation. However, ifsample=True
, the return value will be the sample standard deviation.
SQLite
SQLite doesn’t provide StdDev
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.