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

Python Script (1⇒2) (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 1
    The first output table, contained in the variable output_table_1 which needs to be defined by the user script and has to be of type pandas.DataFrame .
  2. Type: Table
    Table 2
    The second output table, contained in the variable output_table_2 which needs to be defined by the user script and has to be of type pandas.DataFrame .

Extension

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

  1. Go to item

Related workflows & nodes

  1. Go to item
    The traveling salesman problem
    Python Traveling Salesman
    +1
    A visual representation of the traveling salesman problem with the help of Python code
    mlauber71 > Public > kn_example_traveling_salesman_problem_python
    mlauber71
  2. Go to item
    Problem on Windows when transfering data from Pandas to H2O (solved)
    H2o Encoding Progress
    +4
    When transfering data within the Python Script node from a pandas data frame to H2O clust…
    mlauber71 > Public > kn_problem_h2o_python
    mlauber71
  3. Go to item
    Power Supply workflow
    There has been no description set for this workflow's metadata.
    v.matton > Public > power_supply
    v.matton
  4. Go to item
    Santander customer satisfaction using decision tree
    Customer satisfaction Imbalanced data
    Demonstrates use of ADASYN node.
    ashokharnal > Collection of Components and Workflows > decision_tree > Santander customer satisfaction using decision tree
    ashokharnal
  5. Go to item
    RDKit Chemical Topic Modeling Example
    Demonstrates using KNIME text mining nodes to do chemical topic modeling following the ap…
    knime > Examples > 99_Community > 03_RDKit > 08_Chemical_Topic_Modeling
    knime
  6. Go to item
    Fragment_generator_synCor_Ubuntu_finalV1
    The workflow can be used to generate novel fragments for FBDD using the "syntax corrected…
    abilsland > Public > Fragment_generator_synCor_Ubuntu_forKNIMEhub > Fragment_generator_synCor_Ubuntu_finalV1
    abilsland
  7. Go to item
    Structure standardisation for molecules
    Cheminformatics Standardisation Structure standardisation
    +1
    This workflow uses RDKit to standardise the input structures. The user can use SDF or SMI…
    jenniferh > Public > Structure_standardisation_RDKit
    jenniferh
  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