stack_datasets
Stack same-shaped tables or tensors along a new leading dimension to combine matching sources into one labeled array; align shapes and columns first with subset or tensorize.
Instructions
Stack several same-shaped tables (their numeric blocks) or tensors along a new leading dimension, e.g. one CSV per ticker -> ticker x row x column. Shapes and column sets must match exactly (use subset/tensorize to align first).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"names": "<names>"
},
"name": "stack_datasets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | ||
| labels | No | ||
| new_name | No | ||
| axis_name | No | source |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |