how to get index position of array in numpy where and element is a specified value code example Example: get index of element in numpy array python itemindex = numpy.where(array==item)