¡@

Home 

python Programming Glossary: sort_indices

Sort a numpy array by another array, along a particular axis

http://stackoverflow.com/questions/6155649/sort-a-numpy-array-by-another-array-along-a-particular-axis

3. 3. 3. 3. 3. 3. 3. 3. ##This isnt' working how I'd like sort_indices numpy.argsort a axis 0 c b sort_indices Desired output 0 1 2.. how I'd like sort_indices numpy.argsort a axis 0 c b sort_indices Desired output 0 1 2 3 4 5 6 7 8 18 19 20 21 22 23 24 25 26.. 25 26 9 10 11 12 13 14 15 16 17 print Desired shape of b sort_indices 3 3 3 . print Actual shape of b sort_indices print c.shape 3..