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.
Asked
Active
Viewed 2,143 times
7
-
2For 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