[SciPy-user] Selecting array elements using other array

Jose Luis Gomez Dans josegomez at gmx.net
Fri Sep 22 04:43:56 CDT 2006


-------- Original-Nachricht --------
> > am sure there must be a way to do this efficiently. Note that d can
> vary.
> result = take(X, nonzero(id==value))

See? I was sure there was a simple way of achieving this

Many thanks!
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

More information about the SciPy-user mailing list