[Numpy-discussion] Faster NaN functions
lev at columbia.edu
Fri Dec 31 11:21:14 EST 2010
Received from Erik Rigtorp on Fri, Dec 31, 2010 at 08:52:53AM EST:
> I just send a pull request for some faster NaN functions,
> I implemented the following generalized ufuncs: nansum(), nancumsum(),
> nanmean(), nanstd() and for fun mean() and std(). It turns out that
> the generalized ufunc mean() and std() is faster than the current
> numpy functions. I'm also going to add nanprod(), nancumprod(),
> nanmax(), nanmin(), nanargmax(), nanargmin().
> The current implementation is not optimized in any way and there are
> probably some speedups possible.
> I hope we can get this into numpy 2.0, me and people around me seems
> to have a need for these functions.
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
How does this compare to Bottleneck?
More information about the NumPy-Discussion