# Using KNIME Workflows in Jupyter Notebooks

**URL:** <https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891>\
**Category:** KNIME Analytics Platform\
**Tags:** python\
**Created:** [October 31, 2023, 12:38pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891 "2023-10-31T12:38:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pujappathak](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pujappathak/32/33303_2.png) [@pujappathak](https://forum.knime.com/u/pujappathak)\
**Post date:** [October 31, 2023, 12:38pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/1 "2023-10-31T12:38:57Z")

</div>

I am not able to integrate the dataframe in python as input to my knime workflow. Need some clarity on this. Tried Container Input and Output tables but still not working.

---

<div class="post-metadata">

**Author:** ![steffen\_KNIME](https://forum-cdn.knime.com/user_avatar/forum.knime.com/steffen_knime/32/33719_2.png) [@steffen\_KNIME](https://forum.knime.com/u/steffen_KNIME)\
**Post date:** [October 31, 2023, 12:54pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/2 "2023-10-31T12:54:17Z")

</div>

Hi @pujappathak and welcome back!

Please have a close look here and give some more details afterwards:

> [@How to Best Ask For Help on the Forum](https://forum.knime.com/t/how-to-best-ask-for-help-on-the-forum/60708):
>
> How to Best Ask for Help Before we go into this subject: first, and absolutely foremost: always search before posting your question. Your question may have already been posted and answered in the forum. Searching can help you save loads of time and effort! Ok, with that out of the way, let’s go: How can you write a post that is most likely to get the help you need? You might think that logically, a good title for your post would be “Help with an error”, right? Well… not exactly. Put yourself …

This helps us helping you.  
Steffen

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [October 31, 2023, 1:09pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/3 "2023-10-31T13:09:03Z")

</div>

@pujappathak if you want to transfer data between knime and Jupyter notebooks you might want to take a look:

> [@How to execute Jupyter notebook](https://forum.knime.com/t/how-to-execute-jupyter-notebook/48172/2):
>
> @hhkim you could check this example how to use KNIME and Jupyter. And also how to transfer files between them.

> [@UnicodeEncodeError: 'charmap' codec can't encode characters](https://forum.knime.com/t/unicodeencodeerror-charmap-codec-cant-encode-characters/39199/3):
>
> OK I have added a part to the [workflow](https://kni.me/w/BQEN92dR6W0cUM8R) where KNIME, Python and Jupyter would communicate with each other. ‘Variables’ can be exchanged via a file and also data can be transferred via Parquet files. It would be great though to be able to transfer ‘real’ variables between KNIME and Jupyter (like in [this idea](https://forum.knime.com/t/python-script-node-and-jupyter-notebook-integration-error/29899/2)). Unfortunately on my Mac the export thru the new Python integration produces a strange error about index when trying to access the results. Some nodes (like Group by) although wou…

---

<div class="post-metadata">

**Author:** ![pujappathak](https://forum-cdn.knime.com/user_avatar/forum.knime.com/pujappathak/32/33303_2.png) [@pujappathak](https://forum.knime.com/u/pujappathak)\
**Post date:** [November 3, 2023, 12:18pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/4 "2023-11-03T12:18:21Z")

</div>

Hi @mlauber71,

This is my workflow that I called from knime

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/e/1e2b477dc630e16109513b2f4577126a39c40661.png)

How do I load the output of my workflow to a dataframe in python?

Thanks

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [November 3, 2023, 1:21pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/5 "2023-11-03T13:21:28Z")

</div>

@pujappathak you might have to use the [Parquet writer](https://hub.knime.com/knime/extensions/org.knime.features.bigdata.fileformats/latest/org.knime.bigdata.fileformats.parquet.writer3.ParquetWriter3NodeFactory/) and import the file in your Jupyter notebook.

> **[Parquet file format, KNIME and Jupyter notebook – mlauber71](https://hub.knime.com/mlauber71/spaces/Public/kn_example_python_parquet_jupyter~_8wvCLQWHOW0bhlS/current-state)**
>
> Parquet file format, KNIME and Jupyter notebook - work in progress - /data/kn\_example\_python\_parquet\_jupyter.ipynb a jupyter workbook with several way to impor…

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [February 1, 2024, 1:21pm UTC](https://forum.knime.com/t/using-knime-workflows-in-jupyter-notebooks/74891/6 "2024-02-01T13:21:43Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
