[Numpy-discussion] iterating over array items

N. Volbers mithrandir42 at web.de
Wed Jan 25 12:37:04 CST 2006


Hello everyone,

the attached source code contains iterations on elements in a numpy 
array: The first one (for row in a) works, the second one (for item in 
row) does not. The non-numpy equivalent with lists and tuples works however.

Best regards,

Niklas Volbers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iterating.py
Type: text/x-python
Size: 586 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20060125/c2059779/attachment-0001.py 


More information about the Numpy-discussion mailing list