Meta Collection about KNIME and Python
As a platform KNIME is well suited to collaborate with all kinds of tools and systems, including Python. As with R first you will have to set up the environment.
You want to start with the official guide using Anaconda (anaconda.com):
KNIME Python Integration Installation Guide
https://docs.knime.com/latest/python_installation_guide/index.html
I have compiled an entry I called "the sort story - KNIME and Python"
https://forum.knime.com/t/problem-with-setting-a-python-deep-learning-environment/19477/2?u=mlauber71
=> if you want some more control and gain insights into how to handle and configure anaconca (environments)
--- KNIME nodes and Python code (Hand in Hand)
Use Python and KNIME to make a random forest
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_iris
Examples of using Python to generate graphics (using the iris dataset)
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_iris_graphics
---- in and Out-------------------
KNIME/Python - write and read back a dictionary (Pickle)
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_pickle_dictionary
Use Parquet to transfer data between KNIME and Python
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_read_parquet_file
KNIME/Python - write and read numpy files
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_numpy_save
See more exmaples about KNIME and Python together
https://hub.knime.com/search?q=kn_example_python&type=Workflow
You could also manipulate Excel files in KNIME with the help of Python (and openpyxl)
https://hub.knime.com/search?q=kn_example_python_excel&type=Workflow
If you have very specific problems you could employ specialized packages - like with the "Traveling salesperson problem"
https://forum.knime.com/t/sequential-route-based-nearest-distance-point/15510/5?u=mlauber71
---------- you can include your own Python modules via .PY files or Jupyter Notebooks -------------------------------
A simple example how to use .PY files and Jupyter notebooks and KNIME - with more links
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_python_import_module
Multiple python versions in a single workflow
https://hub.knime.com/potts/spaces/Public/latest/Multiple_Python_Versions_Single_Workflow
------------------------
[kn_meta] How to learn KNIME online - fast & overview of KNIME capabilities
https://hub.knime.com/mlauber71/spaces/Public/latest/_how_to_learn_knime?u=mlauber71
External resources
- KNIME Python Integration Installation Guide
- I have compiled an entry I called "the sort story - KNIME and Python"
- Use Python and KNIME to make a random forest
- Examples of using Python to generate graphics (using the iris dataset)
- KNIME/Python - write and read back a dictionary (Pickle)
- Use Parquet to transfer data between KNIME and Python
- KNIME/Python - write and read numpy files
- See more exmaples about KNIME and Python together
- You could also manipulate Excel files in KNIME with the help of Python (and openpyxl)
- A simple example how to use .PY files and Jupyter notebooks and KNIME - with more links
- Multiple python versions in a single workflow
- [kn_meta] How to learn KNIME online - fast & overview of KNIME capabilities
Used extensions & nodes
All required extensions are part of the default installation of KNIME Analytics Platform version 4.2.3
No known nodes available
Legal
By downloading the workflow, you agree to our terms and conditions.
License (CC-BY-4.0)Discussion
Discussions are currently not available, please try again later.