UnicodeEncodeError: 'charmap' codec can't encode characters

@JayR without having checked this out I would see these ways forward

  • make sure the file in the jupyter notebook really is a pandas dataframe without any funny names or data types (first)
  • experiment with the formats for communicating between python and knime (In the preferences)
  • store the data from the jupyter notebook as csv or parquet file and load it back (you will have to deal with all the path things). Not very elegant but it might just work

I was planning on expanding this example to show data communication between knime and jupyter but have not done so yet.

2 Likes