[issue20479] Efficiently support weight/frequency mappings in the statistics module

Rémi Lapeyre report at bugs.python.org
Fri Jan 18 10:27:05 EST 2019


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

Is this proposal still relevant? If so, I would like to work on its implementation.

I think the third proposition to change the API to have a new `weights` parameter is the best has it does not blindly suppose that a tuple is a pair (value, weight) which could not always be true.

----------
nosy: +remi.lapeyre

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


More information about the Python-bugs-list mailing list