Print the indices that sort [18, 21, 19, 24, 22] from low to high. argsort does not return the values. It returns positions into the original array.
Data analysis labNumPy problems
Problem 40 of 50 · Order · Medium
The order of the original scores
Return indices that would sort the array.
Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.
1
Your solution
2