Numpy Performance

Robert Kern robert.kern at
Fri Apr 24 22:05:33 CEST 2009

On 2009-04-24 08:05, timlash wrote:
> Essentially, I'm testing tens of thousands of scenarios on a
> relatively small number of test cases.  Each scenario requires all
> elements of each test case to be scored, then summarized, then sorted
> and grouped with some top scores captured for reporting.
> It seems like I can either work toward a procedure that features
> indexed categorization so that my arrays are of integer type and a
> design that will allow each scenario to be handled in bulk numpy
> fashion, or expand RectangularArray with custom data handling methods.

If you posted a small, self-contained example of what you are doing to 
numpy-discussion, the denizens there will probably be able to help you formulate 
the right way to do this in numpy, if such a way exists.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

More information about the Python-list mailing list