csv_to_hyper
Convert CSV files to Tableau Hyper extracts for use as data sources in Tableau workbooks. Infers column types automatically and generates .hyper files from CSV data.
Instructions
Convert a CSV file to a Tableau Hyper extract.
Infers column types and creates a .hyper file that can be used as a data source in Tableau workbooks.
Requires tableauhyperapi (pip install tableauhyperapi).
Args: csv_path: Path to the source CSV file. hyper_path: Output path for the .hyper file. table_name: Table name inside the Hyper file. sample_rows: Rows to sample for type inference.
Returns: Confirmation with row and column counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | Yes | ||
| hyper_path | Yes | ||
| table_name | No | Extract | |
| sample_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |