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 <b>input_table</b> .

Output Ports

  1. Type: Data The output table. This is the content of the variable <b>output_table_1</b> 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 <b>output_table_2</b> which has to be defined and has to be of the type pandas.DataFrame for this node to successfully execute.

Find here

Scripting > Python

Make sure to have this extension installed:

KNIME Python Integration

Update site for KNIME Analytics Platform 3.7:
KNIME Analytics Platform 3.7 Update Site

How to install extensions