preview_data
Preview Excel or CSV files to list sheets, columns, rows, and detected date range/frequency, so you can verify data structure before loading.
Instructions
Preview the contents of an Excel or CSV file before loading.
Lists available sheets (Excel), column names, number of rows, detected date range and frequency. Use this before load_data to choose the right column and confirm that dates are parsed correctly.
Parameters
source_path : path to .xlsx, .xls, or .csv file sheet : sheet name (Excel only; default = first sheet)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| source_path | Yes |