Python Script (1⇒2)

Manipulator

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. Type: Data
    The input table. In the Python script it is available as pandas.DataFrame under the name input_table .

Output Ports

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

Extension

This node is part of the extension

KNIME Python Integration

v4.0.0

Short Link

Drag node into KNIME Analytics Platform