Skip to content

bpo-35904: Add statistics.fmean()#11892

Merged
rhettinger merged 4 commits into
python:masterfrom
rhettinger:statistics_fmean
Feb 21, 2019
Merged

bpo-35904: Add statistics.fmean()#11892
rhettinger merged 4 commits into
python:masterfrom
rhettinger:statistics_fmean

Conversation

@rhettinger

@rhettinger rhettinger commented Feb 16, 2019

Copy link
Copy Markdown
Contributor

@rhettinger rhettinger added type-feature A feature request or enhancement performance Performance or resource usage labels Feb 16, 2019

@scoder scoder left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch looks very good to me.

Comment thread Lib/statistics.py Outdated
In both examples, the mean() is called in a loop and the results
are expected to be floats.  In the context of Monte Carlo
estimation, high accuracy rather than perfect accuracy will suffice.
@rhettinger
rhettinger merged commit 47d9987 into python:master Feb 21, 2019
@rhettinger
rhettinger deleted the statistics_fmean branch February 21, 2019 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants