Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • Nodes
  • Python Script (1⇒1) (deprecated)
NodeNode / Manipulator

Python Script (1⇒1) (deprecated)

Scripting Python (legacy)

This node has been deprecated and its use is not recommended. Please search for updated nodes instead.

Like
Copy short link

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.

Node details

Input ports
  1. Type: Table
    Table
    The input table. In the Python script it is available as pandas.DataFrame under the name input_table .
Output ports
  1. Type: Table
    Table
    The output table contained in the variable output_table which needs to be defined by the user script and has to be of type pandas.DataFrame .

Extension

The Python Script (1⇒1) (deprecated) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    Basic python script example
    A basic workflow demonstrating python script usage
    lisovyi > Public > forum > 14470
    lisovyi
  2. Go to item
    use Python to drop columns with specific names
    Python Knime Column
    +1
    use Python to drop columns with specific names
    mlauber71 > Public > kn_example_python_filter_columns
    mlauber71
  3. Go to item
    Python_learning_demo
    albertkireev > Public > Python_learning_demo
    albertkireev
  4. Go to item
    Propagate Python Functions Downstream
    Python Python Pickle
    Defining a Python function inside a single Python node means that function is only availa…
    potts > Public > Propagate_Python_Functions_Downstream
    potts
  5. Go to item
    KNIME and Python - examples with if then else conditions
    Python Knime Condition
    Three examples how to handel if then else functions with KNIME and Python
    mlauber71 > Public > kn_example_python_if_then
    mlauber71
  6. Go to item
    KNIME - openpyxl and xlsxwriter to add formulas to excel files
    Xlsxwriter Excel Python
    +1
    use python package openpyxl to add formulas to excel files
    mlauber71 > Public > kn_example_python_excel_enter_formula
    mlauber71
  7. Go to item
    Python script ta - example in KNIME
    There has been no description set for this workflow's metadata.
    mlauber71 > Public > forum > kn_forum_python_ta_package
    mlauber71
  8. Go to item
    Pickling Across Nodes
    Python Pickle Python
    Python objects can be pickled then sent as String output from a node to be read and later…
    potts > Public > Pickling_Across_Nodes
    potts
  9. Go to item
    pyLDAVis Topic Model Visualization
    Python Visualization LDA
    +1
    This workflow uses the pyldavis Python library (https://github.com/bmabey/pyLDAvis) to vi…
    alexanderfillbrunn > Public > Visualizations > pyLDAVis Topic Model Visualization
    alexanderfillbrunn
  10. Go to item
    KNIME/Python - write and read numpy files
    Knime Python Numpy
    +3
    KNIME/Python - this workflow demonstrates how to save a numpy array and later reuse it (f…
    mlauber71 > Public > kn_example_python_numpy_save
    mlauber71
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits