[Numpy-discussion] checking identity of arrays?

Robert Kern kern at its.caltech.edu
Fri Feb 23 09:35:51 CST 2001


On Fri, 23 Feb 2001, John J. Lee wrote:

> I must be missing something obvious: how does one check if two variables
> refer to the same array object?

Python's id() builtin function?

> John

--
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter






More information about the Numpy-discussion mailing list