save_data
Export a dataset (target series and exogenous features) from a data handle to a local file in CSV, Parquet, or JSON format.
Instructions
Persist the target series (y) and any exogenous features (X) behind a data handle to a local file. Combines y and X into one table. Creates parent directories as needed. Supported formats: csv (default, writes index as first column), parquet, json (records orient, ISO dates).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Destination file path. Format is controlled by the format argument, not the file extension. | |
| format | No | Output format: csv (default), parquet, or json. | csv |
| data_handle | Yes | Data handle ID to export (from load_data_source, split_data, or transform_data). |