csv_filter
Filter CSV file rows based on column conditions to extract specific data. Use operators like equals, contains, or comparisons to match values, with options for sorting and limiting results.
Instructions
Filter CSV rows by a column condition. Returns matching rows as JSON.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the CSV file | |
| column | Yes | Column name to filter on | |
| operator | Yes | Comparison operator | |
| value | Yes | Value to compare against | |
| limit | No | Max rows to return (default 50) | |
| sort_by | No | Column to sort results by | |
| sort_dir | No | Sort direction | asc |