Hi,
just a rather simple question. Is there a simple way to add several new empty columns to a table?
Hi @jalilsh,
The first way: take a Table Creator
Node to create named and typed Columns, without any cell entrys and append the two tables with Column Appender
node. The new columns were filled with missing values.
The second way: take some Constant Value Column
nodes with type String and leave the value settings empty.
Best regards
Andrew
If you want to add N new columns with missing values, you can do it like this:
You can enter the number of columns N in the Empty Table Creator node, and you can determine the column type in the Java Snippet node.
KNIME_project8.knwf (14.3 KB)
(If the Transpose node would not have had the problem mentioned in a previous post, this trick would look much simpler)
@Andrew_Steel and @Aswin,
thanks for your time and effort
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.