Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve speed and accuracy for correlation() #26135

Merged
merged 16 commits into from
May 15, 2021
Prev Previous commit
Next Next commit
Restore sort order to __all__
  • Loading branch information
rhettinger committed May 15, 2021
commit cf3986ba3d889139b378494dffa1fab7fc668a7a
6 changes: 3 additions & 3 deletions Lib/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,12 @@
__all__ = [
'NormalDist',
'StatisticsError',
'correlation',
'covariance',
'fmean',
'geometric_mean',
'harmonic_mean',
'linear_regression',
'mean',
'median',
'median_grouped',
Expand All @@ -122,9 +125,6 @@
'quantiles',
'stdev',
'variance',
'correlation',
'covariance',
'linear_regression',
]

import math
Expand Down