On Thu, Dec 26, 2019 at 4:12 PM Richard Damon <rich...@damon-family.org> wrote:
> As was pointed out, the statistics module specifically doesn't claim to > replace more powerful packages, like Numpy, so expecting it to handle > this level of nuance is beyond its specification. > Not being flat-out crazy in its answer isn't extreme nuance. The reason the comment is in the code is because this discussion happened before on this same list. Returning "the largest non-NaN value" I consider flat-out crazy as a possibility (all the more so since doing that is sensitive to exactly where the NaNs occur in a way that requires a good understanding of Timsort to predict). See my possible solution in this thread. -- Keeping medicines from the bloodstreams of the sick; food from the bellies of the hungry; books from the hands of the uneducated; technology from the underdeveloped; and putting advocates of freedom in prisons. Intellectual property is to the 21st century what the slave trade was to the 16th.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/ZT7355ROCYUB5WPZZYYEB4YXHOW7KQC7/ Code of Conduct: http://python.org/psf/codeofconduct/