NodePython Script (1⇒1)


Allows execution of a Python script in a local Python installation. The path to the Python executable has to be configured in Preferences → KNIME → Python. This node supports Python 2 and 3. It also allows to import Jupyter notebooks as Python modules via the knime_jupyter module that is part of the Python workspace.

Input Ports

  1. Port Type: Data
    The input table. In the Python script it is available as pandas.DataFrame under the name input_table .

Output Ports

  1. Port Type: Data
    The output table. This is the content of the variable output_table which has to be defined and has to be of the type pandas.DataFrame for this node to successfully execute.