[issue39094] Add a default to statistics.mean and related functions

Raymond Hettinger report at bugs.python.org
Thu Dec 19 01:55:44 EST 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I vote -1.  We don't have defaults for stdev() or median() or mode().  And it isn't clear what one would use for a meaningful default value in most cases.  Also, I'm not seeing anything like this in Pandas, Excel, etc.  So, I recommend keeping the current simple and clean APIs.

----------

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


More information about the Python-bugs-list mailing list