csv_sample
Retrieve sample rows from a CSV file using first, last, random, or range selection to inspect data quickly.
Instructions
Get sample records from a CSV file using various sampling strategies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the CSV file | |
| mode | No | Sampling mode (default: first) | |
| count | No | Number of records to sample (default: 10) | |
| rangeEnd | No | End line for range mode (1-indexed) | |
| rangeStart | No | Start line for range mode (1-indexed) |