On 10 jul 2008, at 15:45, dragan savic wrote: > I have been using table.readWhere to filter data by conditions. If I > give a condition like '10 < Col1 < 100' the lower limit doesn't > work. In the result I get values that are less then 10. Is this a > bug or am I not using the table.readWhere method as I should?
I don't think the filter is interpreted in Python, and the double filter therefore does not work. '(Col1 > 10) & (Col1 < 100)' should work (not tested). See http://www.pytables.org/docs/manual/apb.html for syntax details of the condition. I must that after reading that it still isn't clear to me why your syntax does not work. Best, Maarten ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users