On Apr 22, 2009, at 5:21 PM, Gökhan SEVER wrote: > Hello, > > Could you please give me some hints about how to mask an array using > another arrays like in the following example. What about that ? numpy.logical_or.reduce([a==i for i in b])