Compute
Add columns from expressions; values may read {{params.*}}.
Adds a column per entry in columns, each from an expression over the row. Expressions may read {{params.*}}, so a rate or a threshold can come from the viewer rather than the flow.
At a glance
Module type
Compute
Category
Primitives · Dataframe
Default tier
reactive
Runs on
reactive, durable
Starts a flow
no
Holds a body
no
Keeps state between runs
no
Available in
every application type
Parameters
columns
object[] · required · defaults to []
One new column per entry, each an expression over the row; {{params.*}} is readable inside.
Inputs
on
event
no
Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs.
data
dataframe
yes
The frame to work on.
params
json
no
Run parameters; {{params.*}} in this module's settings reads from here.
Outputs
output
dataframe
dataframe, signal
The input frame with the computed columns appended.
Last updated

