Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
rhettinger merged 4 commits into
python:masterpython/cpython:masterfrom
rhettinger:statistics_fmeanrhettinger/cpython:statistics_fmeanCopy head branch name to clipboard
Feb 21, 2019
Merged

bpo-35904: Add statistics.fmean()#11892
rhettinger merged 4 commits into
python:masterpython/cpython:masterfrom
rhettinger:statistics_fmeanrhettinger/cpython:statistics_fmeanCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.