statistics: add zscore in py39 (#4130)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-05-27 22:09:46 -07:00
committed by GitHub
parent 1c0403cf83
commit 2f0e3dbed2

View File

@@ -60,6 +60,8 @@ if sys.version_info >= (3, 8):
def inv_cdf(self, p: float) -> float: ...
def overlap(self, other: NormalDist) -> float: ...
def quantiles(self, n: int = ...) -> List[float]: ...
if sys.version_info >= (3, 9):
def zscore(self, x: float) -> float: ...
def __add__(self, x2: Union[float, NormalDist]) -> NormalDist: ...
def __sub__(self, x2: Union[float, NormalDist]) -> NormalDist: ...
def __mul__(self, x2: float) -> NormalDist: ...