DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
iterate over rows in numpy matrix python
import numpy m = numpy.ones((3,5),dtype='int') for row in m: # do stuff with row
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#iterate
#rows
#numpy
#matrix
#python
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit