summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
Commit message (Collapse)AuthorAgeFilesLines
* Minor code cleanups for statistics (GH-19873)Raymond Hettinger2020-05-031-76/+7
| | | | | * Minor cleanups: Removed unused code. Move C import near its Python version. * Clean-up whitespace
* bpo-40290: Add zscore() to statistics.NormalDist. (GH-19547)Raymond Hettinger2020-04-161-0/+11
|
* bpo-38385: Fix iterator/iterable terminology in statistics docs (GH-17111)Raymond Hettinger2019-11-121-1/+1
|
* bpo-38521: Fix error in NormalDist.__eq__() (GH-16840)Raymond Hettinger2019-10-181-1/+1
|
* Minor code and comment cleanup (GH-16315)Raymond Hettinger2019-09-211-1/+3
|
* bpo-36546: No longer a need to make "data" positional only (GH-16252)Raymond Hettinger2019-09-181-1/+1
|
* bpo-36018: Address more reviewer feedback (GH-15733)Raymond Hettinger2019-09-081-5/+27
|
* bpo-36324: Apply review comments from Allen Downey (GH-15693)Raymond Hettinger2019-09-051-21/+17
|
* bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266)Dong-hee Na2019-08-231-73/+82
|
* bpo-36324: Update comments to include the target hash sums (GH-15110)Raymond Hettinger2019-08-041-0/+3
|
* Minor whitespace, indentation, and quoting changes to improve internal ↵Raymond Hettinger2019-07-211-53/+74
| | | | consistency and appease linters (GH-14888)
* bpo-36324: Make internal attributes for statistics.NormalDist() private. ↵Raymond Hettinger2019-07-211-34/+38
| | | | | | | | | | | | (GH-14871) * Make internals private * Finish making mu and sigma private * Add missing __hash__() method * Add blurb
* bpo-36546: Clean-up comments (GH-14857)Raymond Hettinger2019-07-191-9/+3
|
* bpo-36546: Mark first argument as position only (GH-14363)Raymond Hettinger2019-06-251-1/+1
|
* bpo-37158: Simplify and speed-up statistics.fmean() (GH-13832)Raymond Hettinger2019-06-051-4/+4
|
* bpo-36546: Add design notes to aid future discussions (GH-13769)Raymond Hettinger2019-06-031-0/+39
|
* bpo-36018: Make "seed" into a keyword only argument (GH-12921)Raymond Hettinger2019-04-231-1/+1
|
* bpo-35904: Add missing fmean() entry to the summary table (GH-12919)Raymond Hettinger2019-04-231-0/+1
|
* bpo-36546: Add statistics.quantiles() (#12710)Raymond Hettinger2019-04-231-4/+53
|
* bpo-27181: Add statistics.geometric_mean() (GH-12638)Raymond Hettinger2019-04-071-1/+21
|
* bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)Raymond Hettinger2019-03-251-1/+2
|
* bpo-36324: Improved code formatting for the NormalDist.inv_cdf rational ↵Raymond Hettinger2019-03-191-46/+48
| | | | | approximation (GH-12448) https://bugs.python.org/issue36324
* NormalDist.inv_cdf(): In-line constants because the variable names were not ↵Raymond Hettinger2019-03-191-59/+46
| | | | informative (GH-12446)
* Add docstrings to the arithmetic methods in NormalDist() (GH-12426)Raymond Hettinger2019-03-191-14/+44
|
* bpo-36324: Add inv_cdf() to statistics.NormalDist() (GH-12377)Raymond Hettinger2019-03-191-0/+95
|
* Simplify overlap() formula for case where variances are equal (GH-12323)Raymond Hettinger2019-03-141-1/+1
|
* bpo-35892: Fix mode() and add multimode() (#12089)Raymond Hettinger2019-03-121-32/+40
|
* bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-071-1/+36
|
* bpo-36018: Add special value tests and make minor tweaks to the docs (GH-12096)Raymond Hettinger2019-02-281-1/+1
| | | https://bugs.python.org/issue36018
* bpo-36018: Add properties for mean and stdev (GH-12022)Raymond Hettinger2019-02-241-0/+10
| | | | | | | | | | | | Responding to suggestions on the tracker and some off-line suggestions. Davin suggested that english named accessors instead of greek letters would result in more intelligible user code. Steven suggested that the parameters still need to be *mu* and *theta* which are used elsewhere (and I noted those parameter names are used in linked-to resources). Michael suggested proving-out the API by seeing whether it generalized to *Lognormal*. I did so and found that Lognormal distribution parameters *mu* and *sigma* do not represent the mean and standard deviation of the lognormal distribution (instead, they are for the underlying regular normal distribution). Putting these ideas together, we have NormalDist parameterized by *mu* and *sigma* but offering English named properties for accessors. That gives lets us match other API that access mu and sigma, it matches the external resources on the topic, gives us clear english names in user code. The API extends nicely to LogNormal where the parameters and the summary statistic accessors are not the same. https://bugs.python.org/issue36018
* bpo-36018: Make __pos__ return a distinct instance of NormDist (GH-12009)Raymond Hettinger2019-02-241-1/+1
| | | https://bugs.python.org/issue36018
* bpo-36018: Add the NormalDist class to the statistics module (GH-11973)Raymond Hettinger2019-02-231-1/+155
|
* bpo-35904: Add statistics.fmean() (GH-11892)Raymond Hettinger2019-02-211-1/+28
|
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-2/+1
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #27181 remove geometric_mean and defer for 3.7.Steven D'Aprano2016-10-041-268/+1
|
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-1/+1
|
* Remove support for nth root of negative numbers with odd powers.Steven D'Aprano2016-08-241-4/+3
| | | | | | | Although nth roots of negative numbers are real for odd n, the statistics module doesn't make use of this. Remove support for negative roots from the private _nth_root function, which simplifies the test suite.
* Add geometric_mean to __all__Steven D'Aprano2016-08-241-1/+2
|
* Re-licence statistics.py under the standard Python licence.Steven D'Aprano2016-08-231-17/+0
|
* Issue27181 add geometric mean.Steven D'Aprano2016-08-091-0/+267
|
* Add harmonic mean and tests.Steven D'Aprano2016-08-091-4/+62
|
* Backed out changeset af29d89083b3 (closes #25548) (closes #27498)Benjamin Peterson2016-07-141-4/+4
|
* Issue #25548: Showing memory address of class objects in replKushal Das2016-06-041-4/+4
|
* Issue #27076: More doc and comment spelling fixes for 3.6, by Ville SkyttäMartin Panter2016-05-261-2/+2
|
* Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).Steven D'Aprano2016-05-081-1/+0
|
* Issue 26002 and 25974Steven D'Aprano2016-05-041-38/+30
| | | | | patches by Upendra Kumar and Stefan Krah speed up median by using bisect, and general speedup for Decimals using as_integer_ratio
* Issue #25177: Fixed problem with the mean of very small and very large numbers.Steven D'Aprano2015-12-011-71/+114
|
* Issue #25494: Merge with 3.4Zachary Ware2015-10-281-1/+1
|\
| * Issue #25494: Remove extra quote from docstring.Zachary Ware2015-10-281-1/+1
| | | | | | | | Patch by John Mark Vandenberg.
* | Issue #22823: Use set literals instead of creating a set from a listRaymond Hettinger2014-11-091-2/+2
|/