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

Pinner, Luke Luke.Pinner at environment.gov.au
Mon Sep 6 19:34:39 EDT 2010


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

Luke

-----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


  Hello,
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.
Thanks,
Guillaume


------
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