0 ×

One to Many

KNIME Base Nodes version 4.0.1.v201908131444 by KNIME AG, Zurich, Switzerland

Transforms all possible values in a selected column each into a new column. The value is set as the new column's name, the cell values in that column are either 1, if that row contains this possible value, or 0 if not.
The node appends as many columns as possible values are defined for the selected column(s).
If a row contains a missing value in a selected column all corresponding new columns contain the value 0.
To avoid duplicate column names with identical possible values in different selected columns, the generated column name includes the original column name in this case (i. e. the name looks like possibleValue_originalColumnName).
The dialog of the node allows you only to select columns with nominal values. If no column name appears in the dialog but your input table contains nominal columns, you could use the DomainCalculator node and connect its output to this node.

Options

Columns
Select the nominal columns that should be included in the transformation. For each included column extra columns are appended, one for each possible value.
Remove included columns from output
Included columns are replaced by the new generated columns.

Input Ports

Data

Output Ports

Data with transformed columns

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Base Nodes from the following update site:

KNIME 4.0
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.