Hello,

How to conditionally index an array as shown below :

a = arange(10)
a[5<a<8]

to get
array([6,7])

I can't do this with where either.

What is the cure for this?

Thanks.

-- 
Gökhan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to