Stateful Calculator
Formula calculations based on previous rows
Processing
The step begins with an initial state, and transforms this state for each incoming row using a user-defined function.
Settings
Name | Type | Description |
---|---|---|
Initial State |
any |
Initial state of the calculator Evaluated once on step initialization |
Transform |
function |
Function invoked on each incoming row. Current calculator state and currently processed row are passed into the function. The function’s return value becomes the new calculator state. The function has the signature Evaluated once on step initialization |
Results
Name | Type | Description |
---|---|---|
state |
dict | current state |