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