summaryrefslogtreecommitdiff
path: root/math_utils.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2022-02-10 11:40:19 -0800
committerScott Gasch <[email protected]>2022-02-10 11:40:19 -0800
commit14b42faebd598dc14cec6eaef77f06845e500b4b (patch)
tree4d8b254fcb282bccc6f38e647bf3cfd301fb4307 /math_utils.py
parent61faaa42ace9ecae318dd93069db743b7d49a0c9 (diff)
Update docs.
Diffstat (limited to 'math_utils.py')
-rw-r--r--math_utils.py4
1 files changed, 3 insertions, 1 deletions
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):