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