how to find the index of an element in a np array code example Example: get index of element in numpy array python itemindex = numpy.where(array==item)