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