JPython Function (Legacy)

This node populates a new column (appended to the input DataTable) by executing the specified JPython function once per row in the input DataTable. The values for each column in the input row may be accessed via the val("column name") (returning float, int or string) or the valplain("column name") (returning the concrete cell object) JPython function. For example, a simple JPython function to sum the values in 2 input columns might be:

val("col1") + val("col2")

Currently employs jython v2.2.1.

Input Ports

Icon
Table that the JPython function will operate on.

Output Ports

Icon
Table containing the results of the JPython function.

Popular Predecessors

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.