可分别用来根据位置获取numpy矩阵中的值和为给定位置赋新值,速度比用index快。 来源:https://www.cnblogs.com/zhangzhihui/p/12501826.html 标签 array