[SciPy-user] Sort and N dimensional array by 1d array

Jouni K. Seppänen jks@iki...
Wed Feb 21 13:08:10 CST 2007


Christopher Clarke <cclarke@chrisdev.com> writes:

> however for when i do
> sc=take(c,ixs)
> sc.shape=(5,) (i've lost the second column)

Does take(c,ixs,axis=0) do what you want?

-- 
Jouni K. Seppänen
http://www.iki.fi/jks



More information about the SciPy-user mailing list