20 Apr
2007
20 Apr
'07
8:51 p.m.
Hi I have a list of objects that I want to be interpreted numpy.where. What class methods do I need to implement? example: class A:pass a=A() a.i=1 b=A() b.i=0 numpy.where([a,b,a]) #desired result [0,2] Thanks Mathew