[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Maheshwar Kumar
Maheshwar Kumar added the comment: So From the above i am to conclude that removing np.nan is the best path to be taken? Also the above step is to be included in median_grouped as well right? -- ___ Python tracker <https://bugs.python.

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Maheshwar Kumar
Maheshwar Kumar added the comment: Well if i dont consider np.nan as missing data and consider all other values then the answer being 90 is correct,right? -- ___ Python tracker <https://bugs.python.org/issue33

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Maheshwar Kumar
Maheshwar Kumar added the comment: Will just removing all np.nan values do the job? Btw the values will be: median = 88.5 median_low = 85 median_high = 90 I can correct it and send a pull request. -- nosy: +maheshwark97 ___ Python tracker <ht