7

Can someone please explain to me what this function does ? I don't understand the documentation and can not see a clear mapping between input to output as given in the examples of the document.

Link

Divakar
  • 218,885
  • 19
  • 262
  • 358
Quan Vuong
  • 1,919
  • 3
  • 14
  • 24
  • 2
    For the 1st example: `np.arange(7*6).reshape(7,6)[[3,6,6],[4,5,1]]` produces `array([22, 41, 37])`, which is also `(3*6+4, 6*6+5, 6*6+1)`. – hpaulj May 15 '17 at 02:21

0 Answers0