[Numpy-discussion] What to use to read and write numpy arrays to a file?

Lou Pecora lou_boog2000@yahoo....
Mon Dec 8 15:26:20 CST 2008


--- On Mon, 12/8/08, Robert Kern <robert.kern@gmail.com> wrote:

> From: Robert Kern <robert.kern@gmail.com>
> Subject: Re: [Numpy-discussion] What to use to read and write numpy arrays to a file?
> 
> The most bulletproof way would be to use numpy.save() and
> numpy.load(), but this is a binary format, not a text one.
> 
> -- 
> Robert Kern
> 

Thanks, Robert.  I may have to go that route, assuming that the save and load pair preserve shape, i.e. I don't have to know the shape when I read back in.


-- Lou Pecora,   my views are my own.




      


More information about the Numpy-discussion mailing list