[SciPy-user] retrieve indexes of element in 2D scipy array

Robert Robert robertrobert93 at yahoo.com
Mon Jul 13 02:58:07 EDT 2009


Hi all,
I have a 2D scipy array of integer. I can not figure out how
to retrieve the indexes i, j of a specific element in the array. I can
loop through the array in python and search for it, but I can not
believe that scipy does not have a highly optimized algorithm. 
Thanks,
robert


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090712/3a6ff135/attachment.html>


More information about the SciPy-User mailing list