[Numpy-discussion] Warnings in numpy.ma.test()
pgmdevlist at gmail.com
Wed Mar 17 17:25:51 EDT 2010
On Mar 17, 2010, at 3:18 PM, josef.pktd at gmail.com wrote:
> On Wed, Mar 17, 2010 at 3:12 PM, Christopher Barker
> <Chris.Barker at noaa.gov> wrote:
>> One of the things I liked about MATLAB was that NaNs were well handled
>> almost all the time. Given all the limitations of NaN, having a masked
>> array is a better way to go, but I'd love it if they were "just there",
>> and therefore EVERY numpy function and package built on numpy would
>> handle them gracefully. I had thought that there would be a significant
>> performance penalty, and thus there would be a boatload of "if_mask"
>> code all over the place, but maybe not.
> many function are defined differently for missing values, in stats,
> regression or time series analysis with the assumption of equally
> spaced time periods always needs to use special methods to handle
> missing values.
I think Christopher was referring to ufuncs, not necessarily to more complicated functions (like in stats or such).
More information about the NumPy-Discussion