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
- Absolute vs Relative Imports in Python
- KNIME and Jupyter
- Embedding documents with a Jupyter notebook
- Python & KNIME (the official guide)
- Meta Collection about KNIME and Python
- create Python environment using conda-forge
- Iris 2021 - several functions with the new Python integration
- forum entry (39199) - debate about transfers between KNIME and Jupyter
- 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
- MEDIUM: KNIME and Python — Setting up and managing Conda environments
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
Loading deployments
Loading ad hoc jobs
Legal
By using or downloading the workflow, you agree to our terms and conditions.