[Numpy-discussion] help with where

Robert Kern robert.kern@gmail....
Fri Apr 20 16:23:46 CDT 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