csv_stats
Calculate aggregate statistics for CSV fields, including min/max, mean, median, stdDev for numeric columns and top values for categorical columns.
Instructions
Collect aggregate statistics for fields in a CSV file. Includes min/max, mean, median, stdDev for numeric fields, and top values for categorical fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| fields | No | Specific fields to analyze (default: all) | |
| maxRecords | No | Maximum records to analyze (default: all) |