On Sunday 10 February 2008 13:23:13 David Trémouilles wrote:
> Thank you very much Pierre!
> You made me discover boolean index (numpy is fantastic !)
> In the mean time, I now understand the purpose of maskedarray that I
> totally missed at a first sight.

You're quite welcome. Masked arrays are great when you need a way to flag 
invalid or missing data. For simpler cases, boolean indexing can be faster 
and easier to understand.
And now, for a shameless plug: if you work with series indexed with time, you 
might be interested in the timeseries package (available as a scikit in 
http://svn.scipy.org/svn/scikits/trunk/timeseries/). The package relies on 
the new numpy.ma package.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to