[Numpy-discussion] saving masked array to a text file

Pinner, Luke Luke.Pinner@environment.gov...
Mon Sep 6 18:34:39 CDT 2010

How about the masked aray filled method?
eg numpy.savetxt(somefilename, somemaskedarray.filled(somevalue))


-----Original Message-----
From: Guillaume Chérel
Sent: Monday, 6 September 2010 10:36 PM
To: Discussion of Numerical Python
Subject: [Numpy-discussion] saving masked array to a text file

Is there a function like savetxt that can deal with missing values in 
masked arrays? I'd like to control the way the missing values are 
written to the file.

If you have received this transmission in error please notify us immediately by return e-mail and delete all copies. If this e-mail or any attachments have been sent to you in error, that error does not constitute waiver of any confidentiality, privilege or copyright in respect of information in the e-mail or attachments. 

Please consider the environment before printing this email.


More information about the NumPy-Discussion mailing list