Merge pull request #164 from behldizh/add-stddev-funcs-develop

Add stddev funcs to F()
This commit is contained in:
Kobi Tal 2021-10-21 09:39:51 +03:00 committed by GitHub
commit 1ae66f63c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1633,6 +1633,16 @@ class F(Cond, FunctionOperatorsMixin, metaclass=FMeta):
def varSamp(x): def varSamp(x):
return F('varSamp', x) return F('varSamp', x)
@staticmethod
@aggregate
def stddevPop(expr):
return F('stddevPop', expr)
@staticmethod
@aggregate
def stddevSamp(expr):
return F('stddevSamp', expr)
@staticmethod @staticmethod
@aggregate @aggregate
@parametric @parametric