preview_data
Inspect actual rows from tabular data files (CSV, Parquet, Excel, JSON) using head, tail, or random sample modes to verify formatting, encodings, and column values before analysis.
Instructions
Peek at actual rows of a data file.
Returns n rows (capped at 100) as records. mode selects which rows:
head (default), tail, or sample (random). Use this to see real
example values rather than just statistics, for example to check formatting,
encodings, or how a specific column looks in practice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| mode | No | head | |
| path | Yes |