[Numpy-discussion] Comparing x and x.view
Robert Kern
robert.kern at gmail.com
Wed Feb 7 22:38:30 EST 2007
Pierre GM wrote:
> All,
>
> I want to compare whether two arrays point to the same data.
> I've been using 'is' so far, but I'm wondering whether it's the right
> approach.
It isn't. Your analysis is correct.
--
Robert Kern
"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
mailing list