[Numpy-discussion] iterating over array items

N. Volbers mithrandir42 at web.de
Wed Jan 25 12:37:04 EST 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://mail.python.org/pipermail/numpy-discussion/attachments/20060125/c2059779/attachment.py>


More information about the NumPy-Discussion mailing list