This workflow uses the new Python Script node. This node features a new backend that makes execution of Python scripts as fast in KNIME as it is anywhere else.
Random data is generated by using the Data Generator node and a flow variable is created via the Variable Creator node. The flow variable and the generated data are injected to the Python Script node.
Open the configuration dialog of the Python Script node to write the Python code.
Here a function is applied to the column of the input data table indicated by the flow variable. The transformed data table is available at the output port of the Python Script node.
This workflow is configured to run with the Columnar backend.
Workflow
Python Script example with new Python API backend
External resources
Used extensions & nodes
Created with KNIME Analytics Platform version 4.5.0
- Go to item
- Go to item
- Go to item
Legal
By using or downloading the workflow, you agree to our terms and conditions.