diff --git a/org.knime.dl.python/py/DLPythonNetworkSpecToDataFrameConverter.py b/org.knime.dl.python/py/DLPythonNetworkSpecToDataFrameConverter.py index 612223bc..99526a40 100644 --- a/org.knime.dl.python/py/DLPythonNetworkSpecToDataFrameConverter.py +++ b/org.knime.dl.python/py/DLPythonNetworkSpecToDataFrameConverter.py @@ -85,7 +85,7 @@ def __layer_data_specs_to_data_frame(self, layer_specs): specs.iloc[idx, 4] = tensor_spec.element_type specs.iloc[idx, 5] = tensor_spec.dimension_order - specs_with_numeric_types = specs.convert_objects(convert_numeric=True) + specs_with_numeric_types = specs.convert_dtypes() specs_with_numeric_types['id'] = specs_with_numeric_types['id'].astype(str) specs_with_numeric_types['name'] = specs_with_numeric_types['name'].astype(str) return specs_with_numeric_types