Re: [Numpy-discussion] Nansum function behavior

2015-10-23 Thread Charles Rilhac
I saw this thread and I totally disagree with thouis argument… Of course, you can have NaN if there are only NaNs. Thanks goodness, There is a lot of way to do that. But it’s not convenient, consistent and above all, it is wrong logically to do that. NaN does not mean zeros and operation with Na

Re: [Numpy-discussion] Nansum function behavior

2015-10-23 Thread Charles Rilhac
# one > > If you want to propagate masks and such, use masked arrays. > Ben Root > > > On Fri, Oct 23, 2015 at 12:45 PM, Charles Rilhac <mailto:webmastert...@gmail.com>> wrote: > Hello, > > I noticed the change regarding nan function and especially nansum functi

[Numpy-discussion] Nansum function behavior

2015-10-23 Thread Charles Rilhac
Hello, I noticed the change regarding nan function and especially nansum function. I think this choice is a big mistake. I know that Matlab and R have made this choice but it is illogical and counterintuitive. First argument is about logic. An arithmetic operation between Nothing and Nothing c