I have been doing a python script to replace missing values with 0.
My code is the following:
df = input_table_1.copy()
select only useful features
useful_cols = [‘features’ ]
df = pd.DataFrame(data = df[useful_cols])
replace missing data with 0
df = df.fillna(0)
output_table_1 = df
However, when I see the the results in Table. I continue with NULL in the data.
@sebas_sarasti welcome to the KNIME forum.
Maybe you can provide a sample workflow. I will have to see if I can find one.
You could handle missing values and column filters in knime itself:
You seem to be using an older python integration and might be interested in the new one
@sebas_sarasti you can test this example:
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.