Allows executing a Python script in a local Python environment. The environment has to be configured under File → Preferences → KNIME → Python or via flow variable, as described in the KNIME Python Integration Installation Guide .
This node supports Python 2 and 3. It also allows to import Jupyter notebooks as Python modules via the knime_jupyter module that is available in the node's Python workspace.
- Type: PythonModelThe trained model. In the Python script it is available under the name input_model .
- Type: TableTableThe input table. In the Python script it is available as pandas.DataFrame under the name input_table .