I need to put all the values that exist in the form of a dict in one column of a DataFrame. When I print inside the KNIME’s Python Script node, I get the same result as in the Jupyter notebook, but when I execute the node, I get the following error and the KNIME Python Script I used is shown below.
What format exactly would you expect to be stored inside the KNIME table if there’s a column containing a dict?
If you expect a JSON value, then there’s a simple solution: Upgrade to KNIME 5.1 We have added support for JSON (= Python dict) and XML (= Python’s xml.elementtree.ElementTree) cells in Python in the last KNIME release.