[SciPy-user] array mean issue...

David Cournapeau david@ar.media.kyoto-u.ac...
Wed Jun 11 09:44:39 CDT 2008

fred wrote:
> I'll look at it asap.
> However, I wonder why there is no nan*** methods related to arrays,
> like array.mean(), array.min(), etc.
> And also why there is no nanmean & nanstd method...

there is:

 >> from scipy.stats.stats import nanmean
 >> import numpy as np
 >> nanmean([np.Nan, 1])

If you are about to say "how the hell would I know that", you may well 
be right. I am fixing this to put them into scipy.stats instead of 



More information about the SciPy-user mailing list