Hello, when I run the Python Script node I get this message: AttributeError: 'NoneType' object has no attribute 'to_arrow_table' ; however, I’m not sure what is the section of the code that triggers this message. For reference, the code runs accordingly if I execute it in Jupyter Notebook or Pycharm.
I recently updated KNIME to the latest version. I don’t remember what version I had before, but it’s been more than a year I believe since the last version installed.
Also you should check what type of data your code would produce. If you want to bring data back from Python to KNIME you would have to have an Arrow data table. Often you would have a Pandas data frame that you would then convert to Arrow.
Sorry for the late reply, thanks for the info @mlauber71 I read the guides to set up arrow tables and made the necessary adjustments to the code, fixing possible invalid values, etc , now I’m facing another issue, When I run this code in Python Script, it says Execution successful, but I’m unable to click on Execute on the KNIME script node, it’s disabled.
I printed both combined_data_frame and knio.output_tables[0] to make sure there weren’t invalid values. I tried converting using both knio.Table.from_pyarrow and knio.Table.from_pyarrow but the node still doesn’t execute.