[Numpy-discussion] What to use to read and write numpy arrays to a file?
Mon Dec 8 15:28:14 CST 2008
On Mon, Dec 8, 2008 at 15:26, Lou Pecora <email@example.com> wrote:
> --- On Mon, 12/8/08, Robert Kern <firstname.lastname@example.org> wrote:
>> From: Robert Kern <email@example.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.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion