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

2010-09-07 Thread Guillaume Chérel
ked 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]

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

2010-09-06 Thread Pinner, Luke
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

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

2010-09-06 Thread Guillaume Chérel
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 ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://m