[Numpy-discussion] Numpy Help

DIPO ELEGBEDE dipo.elegbede at gmail.com
Fri Jul 29 09:55:15 EDT 2011


Hi All,

I am fresh on this list and would be looking forward to as much help as I
can get. I am hoping to develop ino helping others too after a short while.

Kindly help me with this task.

I would appreciate if you can point me to an example or brief explanation.

I have a 4 by 4 matrix filled with 0s, 1s and 2s.

I want to loop through the whole matrix to get the fields with 1s and 2s
only and then count how many ones and how many twos.

Please help.

-- 
Dipo Elegbede,OCA
08033299270,08077682428
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110729/63f8fe48/attachment.html>


More information about the NumPy-Discussion mailing list