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.
URL: KNIME Workbench Guide - Columnar backend https://docs.knime.com/latest/analytics_platform_workbench_guide/index.html#table-backend
URL: KNIME Python Integration Guide https://docs.knime.com/latest/python_installation_guide/index.html#python-script-labs
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.