Hello!
On Tue, 31 Jul 2012 09:16:31 +0200
Zimmermann Paul wrote:
>Hi Vladimir,
>
> 'NaN' means "Not a Number". It might produced by some uninitialized
> value, or the arithmetic of some invalid arithmetic operation, like
> sqrt(-1.0), 0/0, Inf - Inf, ...
>
> You should first investig
Hi Vladimir,
'NaN' means "Not a Number". It might produced by some uninitialized value, or
the arithmetic of some invalid arithmetic operation, like sqrt(-1.0), 0/0,
Inf - Inf, ...
You should first investigate why you get such values in your array, since
simply ignoring them might be wrong
Hello!
I'm working with some data arrays which have 'NaN's somewhere inside
them. So I have a couple of questions on how to deal with such arrays.
First, how does the 'mean()' function treats the 'NaN' values in the
lists passed to it? Should it just ignore them and calculate the
average valu