[Numpy-discussion] Get the index of a comparison of two lists
FRENK Andreas
Andreas.FRENK@3ds....
Wed Feb 16 08:09:30 CST 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.scipy.org/pipermail/numpy-discussion/attachments/20110216/b37d278c/attachment.html
More information about the NumPy-Discussion
mailing list