3

I am trying to find the occurance of certain number in a 2D scipy array. The returned value should be the indices of first and second slice like (x,y).

What could be an absolutely efficient way of doing it?

Thanks a lot

Shan
  • 18,563
  • 39
  • 97
  • 132

0 Answers0