python 二维数组取值

简介

a = np.ones((5,5))
可以通过 a[1,1] a[1][1] 这两种方式取出数值,本质上是一样的。

Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne
原文地址:https://www.cnblogs.com/eat-too-much/p/13679370.html