On 16/03/18 23:16, Steven D'Aprano wrote:
> The bug tracker currently has a discussion of a bug in the median(),
> median_low() and median_high() functions that they wrongly compute the
> medians in the face of NANs in the data:
>
> https://bugs.python.org/issue33084
>
> I would like to ask peo
On 2018-03-15 08:28, michealmanc...@gmail.com wrote:
I would like to have this offer 6 guesses, but instead it gives one guess and
prints the if statement/output 6 timesany ideas where I went wrong?
It sounds as if you'd like to have it making the offer within the loop
rather than before t
On 17/03/2018 00:16, Steven D'Aprano wrote:
> The bug tracker currently has a discussion of a bug in the median(),
> median_low() and median_high() functions that they wrongly compute the
> medians in the face of NANs in the data:
>
> https://bugs.python.org/issue33084
>
> I would like to ask p
On Sat, 17 Mar 2018 16:41:01 +1100, Ben Finney wrote:
>> (4) median() should strip out NANs.
>
> Too much magic.
Statistically, ignoring NANs is equivalent to taking them as missing
values. That is, for the purposes of calculating some statistic (let's
say, median, although it applies to other