Re: [Numpy-discussion] ma.std(ddof=1) bug?

2010-04-28 Thread Pierre GM
On Apr 23, 2010, at 12:45 PM, josef.p...@gmail.com wrote: > Is there a reason why ma.std(ddof=1) does not calculated the std if > there are 2 valid values? Bug! Good call... Should be fixed in SVN r8370. ___ NumPy-Discussion mailing list NumPy-Discussi

[Numpy-discussion] ma.std(ddof=1) bug?

2010-04-25 Thread josef . pktd
Is there a reason why ma.std(ddof=1) does not calculated the std if there are 2 valid values? example nan = np.nan x1 = np.array([[9.0, 3.0, nan, nan, 9.0, nan], [1.0, 1.0, 1.0, nan, nan, nan], [2.0, 2.0, 0.01, nan, 1.0, nan], [3.0, 9.0, 2.0, nan, nan, na