[Numpy-discussion] read ascii file with quote delimited strings

Chris Barker Chris.Barker@noaa....
Thu Feb 25 15:56:43 CST 2010


Warren Weckesser wrote:
> Does each column always contain the same number of characters?  That >is, are the field widths always the same?  If so, you can ...


if not, I'd use the std lib csv module, then convert to numpy arrays, 
not as efficient, but it should be easy.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the NumPy-Discussion mailing list