[Numpy-discussion] help with where

Robert Kern robert.kern at gmail.com
Fri Apr 20 17:23:46 EDT 2007


Mathew Yeates wrote:
> Hi
> I have a list of objects that I want to be interpreted numpy.where. What 
> class methods do I need to implement?

__nonzero__

-- 
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