On Jun 28, 2011, at 9:41 PM, Eric Firing wrote:
> 
> One of the real frustrations of the present masked array is that there 
> is no savez/load support.  I could roll my own by using a convention 
> like saving the mask of xxx as xxx__mask__, and then reversing the 
> process in a modified load; but I haven't gotten around to doing it. 
> Regardless of internal implementation, I hope that core support for 
> missing values will be included in savez/load.

Transform your masked array into a structured one (one field for the data, one 
for the mask), using the .torecords method, and use it as a regular ndarray.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to