From 14b42faebd598dc14cec6eaef77f06845e500b4b Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 10 Feb 2022 11:40:19 -0800 Subject: [PATCH] Update docs. --- math_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/math_utils.py b/math_utils.py index 188d323..31610ba 100644 --- a/math_utils.py +++ b/math_utils.py @@ -9,7 +9,8 @@ from typing import List, Optional class NumericPopulation(object): - """A running median computer. + """A numeric population with some statistics such as median, mean, pN, + stdev, etc... >>> pop = NumericPopulation() >>> pop.add_number(1) @@ -29,6 +30,7 @@ class NumericPopulation(object): 3 >>> pop.get_percentile(60) 7 + """ def __init__(self): -- 2.47.1