Join our Updates

We send newly fresh and beautiful contents to your inbox regularly. Enjoy each premium newsletters in your mail.
Email address
Your email will never be shared

BUG report in computing the median, median_high and median_low within the statistics library in Python 3

Posted by

In this blog I discuss a bug that I found in Python 3.6.4 statistics module version 3.4 concerning the computation of the median, median_high and median_low function when missing values (NaN, nan) are present in the data.
I reported this  bug to the Python team and had investigated it with different data, with all results pointing to a bug in the current version.
You are invited to add your comments if you have any questions pertaining to this blog.

I have over twenty years of work experience in the field of statistics as an Applied Statistician and…

Leave a Reply

Join our Updates

We send newly fresh and beautiful contents to your inbox regularly. Enjoy each premium newsletters in your mail.
Email address
Your email will never be shared