[SciPy-user] Array selection help

Jose Luis Gomez Dans josegomez@gmx....
Wed Feb 11 09:41:15 CST 2009


> > In essence, I want to have an array where each element is the mean value
> for its corresponding class.
> Thanks, now I understand!  In that case your for-loop should be fine
> (I guess you won't have too many unique indices?).

Well, there can be quite a lot of them (~10000 at least), so it does take a long while. I was just wondering whether some numpy/scipy array Jedi trick might speed it up :)

Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

More information about the SciPy-user mailing list