Hi All - I'm new to Python and I am learning the language by
experimenting with PyTables, so this question might seem simple.

I want to be able to execute a table.where condition with a list of
values for the column. Like a SQL 'in' statement

So instead of this repeating the column

table.where("(src_id == 'x') | ((src_id) == 'y')")

it would be something like this:

table.where("(src_id == 'x' | 'y' ")

I've tried a variety of things and just want to make sure there is not
something I'm missing.

Many thanks!

-Ross

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to