preview_data
Preview actual data rows from a file with options for head, tail, or random sample. See real values to check formatting, encodings, or column appearance.
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 |