From: Scott Gasch Date: Thu, 10 Feb 2022 19:40:19 +0000 (-0800) Subject: Update docs. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=14b42faebd598dc14cec6eaef77f06845e500b4b;p=python_utils.git Update docs. --- 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):