[Numpy-discussion] numpy ndarray questions
Tue Jan 27 05:04:46 CST 2009
On 1/27/2009 6:03 AM, Jochen wrote:
> BTW memmap arrays have
> the same problem
> if I create a memmap array and later do something like
> all later changes will not be written to the file.
= is Python's rebinding operator.
a = a + 1 rebinds a to a different object.
As for ndarray's, I'd like to point out the difference between
a[:] = a + 1
a = a + 1
More information about the Numpy-discussion