[Numpy-discussion] Get the index of a comparison of two lists

FRENK Andreas Andreas.FRENK at 3ds.com
Wed Feb 16 09:09:30 EST 2011


Hi,

Thanks for the two solutions.
Indeed, there are much faster than the brute force method using in.

The setmember1d is deprecate din newer python releases, therefore I already switched to in1d().
(Thanks Josef.)

Andreas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110216/b37d278c/attachment.html>


More information about the NumPy-Discussion mailing list