to_cumulative
Converts an incremental triangle into a cumulative triangle by computing running sums per row. Use to prepare data for chain-ladder reserving calculations.
Instructions
Convert an incremental triangle to cumulative (running sum per
row). Unobserved cells propagate as null. Inverse of
to_incremental on observed cells.
Args: incremental: Incremental triangle.
Returns dict with triangle (cumulative, same shape) and the
standard disclaimer.
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": {
"incremental": "<incremental>"
},
"name": "to_cumulative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incremental | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||