numpy返回数组中元素的指数方法

  

        进口numpy=numpy.array (((3,2,1), 2、5、7, (4、7、8)))   itemindex=numpy。argwhere (==7)   打印(itemindex)   打印      

以上这篇numpy返回数组中元素的指数方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

numpy返回数组中元素的指数方法