projects
/
python_utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61faaa4
)
Update docs.
author
Scott Gasch
<
[email protected]
>
Thu, 10 Feb 2022 19:40:19 +0000
(11:40 -0800)
committer
Scott Gasch
<
[email protected]
>
Thu, 10 Feb 2022 19:40:19 +0000
(11:40 -0800)
math_utils.py
patch
|
blob
|
history
diff --git
a/math_utils.py
b/math_utils.py
index 188d3234986c5f6dd5b0474512402c9adc98cbf1..31610ba5fd2a0726b5b1f151dc87cc362b7389d4 100644
(file)
--- 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):