Use functions and Python code from an external .PY file or a Juypter notebook in KNIME's Python Source node
This workflow demonstrates how modules in (external) Python scripts (.PY) and KNIME as well as Jupyter notebooks and KNIME can live and work together. As always: with KNIME as a platform you don't have to choose - you can have it all.
conda install -c conda-forge jupyterlab
conda install -c conda-forge notebook
conda activate py3_knime
jupyter notebook
External resources
- MEDIUM: KNIME and Python — Setting up and managing Conda environments
- use the new (KNIME 4.6+) Python Script node and bundled Python version to read Parquet file into KNIME, export it again, put it into SQLite database and read it back
- forum entry (39199) - debate about transfers between KNIME and Jupyter
- Iris 2021 - several functions with the new Python integration
- create Python environment using conda-forge
- Meta Collection about KNIME and Python
- Python & KNIME (the official guide)
- Embedding documents with a Jupyter notebook
- KNIME and Jupyter
- Absolute vs Relative Imports in Python
Used extensions & nodes
Created with KNIME Analytics Platform version 4.7.8
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
- Go to item
Legal
By using or downloading the workflow, you agree to our terms and conditions.