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

Mark Dickinson report at bugs.python.org
Fri Mar 16 04:43:08 EDT 2018


Mark Dickinson <dickinsm at gmail.com> added the comment:

> Will just removing all np.nan values do the job?

Unfortunately, I don't think it's that simple. You want consistency across the various library calls, so if the various `median` functions are changed to treat NaNs as missing data, then the other functions should be, too.

----------
nosy: +mark.dickinson, steven.daprano

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


More information about the Python-bugs-list mailing list