I have a large numpy array (dtype=int) and a set of numbers which I\'d like to find in that array, e.g.,
dtype=int
import numpy as np values = np.array(
Is this fast enough?
>>> np.where(np.in1d(values, searchvals)) (array([ 0, 2, 3, 8, 10]),)