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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users