The data table sub-setting functionality should be based on a simple query syntax language (/Backus–Naur form context free grammar) that can easily be executed by the underlying Pandas Python package in lieu of multiple selection tables.
As it turns out, Pandas already supports a query language that may be used for data table filtering. An example of such a query is against the Data Carpentries Python ecology surveys.csv table:
The data table sub-setting functionality should be based on a simple query syntax language (/Backus–Naur form context free grammar) that can easily be executed by the underlying Pandas Python package in lieu of multiple selection tables.
As it turns out, Pandas already supports a query language that may be used for data table filtering. An example of such a query is against the Data Carpentries Python ecology surveys.csv table:
df.query("(year == 1990 | year == 1991) & sex == 'M' & (species_id == 'BA' | species_id == 'RM' | species_id == 'DO')")