postgres.aggregates.CovarPop

class CovarPop(y, x, sample=False) [source]

Returns the population covariance as a float, or None if there aren’t any matching rows.

Has one optional argument:

sample

By default CovarPop returns the general population covariance. However, if sample=True, the return value will be the sample population covariance.

doc_Django
2016-10-09 18:39:14
Comments
Leave a Comment

Please login to continue.