Jython

This node runs any given Jython code. The input dataframe is passed in the variable inDF. The output dataframe should be placed in the variable outDF

Input

The input dataframe is passed in the variable in DF

Output

The output dataframe should be placed in the variable outDF

Type

transform

Class

fire.nodes.etl.NodeJython

Fields

Details

This node runs any given Jython code.

Below is an example jython code. It takes the input dataframe ‘inDF’, and returns the new dataframe ‘outDF’

outDF = inDF.groupBy(“c2”).count()