From: Francesc A. <fa...@py...> - 2012-04-24 02:14:49
|
On 4/19/12 8:43 AM, Alvaro Tejero Cantero wrote: > Some complementary info (I copy the details of the tables below) > > timeit vals = numpy.fromiter((x['val'] for x in > my.root.raw.t0.wtab02.where('val>1')),dtype=np.int16) > 1 loops, best of 3: 30.4 s per loop > > > Using the compressed and indexed version, it mysteriously does not > work (output is empty list) >>>> cvals = np.fromiter((x['val'] for x in wctab02.where('val>1')), dtype=np.int16) >>>> cvals > array([], dtype=int16) This smells like a bug, but I cannot reproduce it. Could you send an self-contained example reproducing this behavior? -- Francesc Alted |