Dear KNIME Python users,
pandas has recently released pandas 3.0, which introduces breaking API changes. At the moment, pandas 3.0 is not compatible with the KNIME Python integration, and workflows using Python nodes may fail if your environment upgrades to pandas 3.x.
Who is affected?
You are only affected if you create and manage your own Python environment for KNIME and have pandas 3.x installed.
You are not affected if:
- Your environment includes the
knime-python-baseorknime-python-scriptingpackage, or - You are using the default bundled Python environment shipped with KNIME.
Symptoms
When executing Python nodes, you may see errors like the following:
Execute failed: ValueError: Data type 'large_string' in column '<RowID>' is not supported in KNIME Python. Please use a different data type.
Solution
If you manage your environment yourself, pin pandas to version 2.x, for example:
pandas < 3
We are currently working on compatibility with pandas 3.x and will release an updated version of the KNIME Python integration once this is complete.
Best regards,
The KNIME Team