[Numpy-discussion] how to use argsort result?

Emanuele Olivetti olivetti at itc.it
Tue Jul 11 04:57:28 CDT 2006

Wow. I have to study much more indexing. It works pretty well.

Just to help indexing newbie like on using your advice:

Thanks a lot!


Pau Gargallo wrote:
> here goes a first try:
> A[arange(2)[:,newaxis],indexes]

More information about the Numpy-discussion mailing list