Skip to main content

Aggregate: Average

Streaming aggregator that emits the running mean of every number it has received so far. Reset at the start of every parser execution. Useful inside an iterator body to compute AVG across rows.

Example
Inputs: 10, 20, 30
Outputs: 10, 15, 20

Parameters

This function has no parameters.

Input

ValueREQUIRED

Number to feed into the running average.

Output

Result

Running mean of all values received so far.