[issue38308] Add optional weighting to statistics.harmonic_mean()

Steven D'Aprano report at bugs.python.org
Wed Dec 23 19:53:32 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

I like the addition but I'm not sure why you removed the price-earnings ratio example from the docs. I think that it's useful to have an example that shows that harmonic mean is not *just* for speed-related problems.

I'm not going to reject your change just on this documentation issue, but I would like to hear why you removed the P/E example instead of just adding additional examples.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38308>
_______________________________________


More information about the Python-bugs-list mailing list