sness
blog of sness
Sunday, February 03, 2013
python - Iterating over a numpy array - Stack Overflow
python - Iterating over a numpy array - Stack Overflow
: ">>> a =numpy.array([[1,2],[3,4],[5,6]])
>>> for (x,y), value in numpy.ndenumerate(a):
... print x,y"
'via Blog this'
Newer Post
Older Post
Home