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

Robert Robert robertrobert93@yahoo....
Mon Jul 13 01:56:34 CDT 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/27f97e0d/attachment-0001.html 


More information about the SciPy-user mailing list