This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients dcasmr, maheshwark97, mark.dickinson, steven.daprano
Date 2018-03-16.14:32:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521210756.02.0.467229070634.issue33084@psf.upfronthosting.co.za>
In-reply-to
Content
> then the answer being 90 is correct,right?

How do you deduce that? Why 90 rather than 85 (or 87.5, or some other value)?

For what it's worth, NumPy gives a result of NaN for the median of an array that contains NaNs:

>>> np.median([1.0, 2.0, 3.0, np.nan])
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.py:4033: RuntimeWarning: Invalid value encountered in median
  r = func(a, **kwargs)
nan
History
Date User Action Args
2018-03-16 14:32:36mark.dickinsonsetrecipients: + mark.dickinson, steven.daprano, maheshwark97, dcasmr
2018-03-16 14:32:36mark.dickinsonsetmessageid: <1521210756.02.0.467229070634.issue33084@psf.upfronthosting.co.za>
2018-03-16 14:32:36mark.dickinsonlinkissue33084 messages
2018-03-16 14:32:35mark.dickinsoncreate