numpy得到数组的index

itemindex = numpy.where(array==item)
原文地址:https://www.cnblogs.com/huangshiyu13/p/6944861.html