On 7/15/13, Moroney, Catherine M (398D)
wrote:
> I know that there's an easy way to solve this problem, but I'm not
> sufficiently knowledgeable
> about numpy indexing to figure it out.
>
> Here is the problem:
>
> Take a 2-d array a, of any size.
> Sort it in ascending order using, I presume, arg
I know that there's an easy way to solve this problem, but I'm not sufficiently
knowledgeable
about numpy indexing to figure it out.
Here is the problem:
Take a 2-d array a, of any size.
Sort it in ascending order using, I presume, argsort.
Step through the sorted array in order, and for each el