Filter rows
Keep (or remove) the rows that meet one or more conditions on their columns, and keep only the columns you need.
Command in the Data Table toolkit · id ooa.datatable/filter · 9 inputs (3 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Table | Table | Yes | Source table. | |
| Column | String | Yes | Column name. | |
| Operator | String | Yes | Comparison; matches takes a regular expression. | |
| Value | Any | No | Value to compare with (not needed for empty/not_empty). | |
| Match case | Boolean | No | false | Compare text with upper/lower case taken into account. |
| More conditions | List | No | More conditions, each a column, a comparison and a value (column, operator, value, match_case). | |
| Match | String | No | all | With more conditions: a row must meet all of them, or any one. |
| Keep | String | No | matching | Keep the rows that meet the conditions, or remove them and keep the rest. |
| Columns | List | No | Only these columns in the result, in this order; all of them when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Filtered table. |
| count | Number | Rows kept. |