0 ×

Reference Column Resorter

StreamableKNIME Base Nodes version 3.6.1.v201808311359 by KNIME AG, Zurich, Switzerland

This node changes the order of the input columns based on the order provided at the second input table. The latter has to contain a string column with columns names as in the first input table. The columns of the first input are then sorted according to this column's (row) order. Columns not part of this sort column are sorted to the start or end or entirely dropped from the output. The sort column must not contain duplicates (node will error out). Unknown column identifiers are ignored.

Options

Order Column
The column in the second input storing the ordered list of column names in the first input
Unspecified Strategies
First: Put columns whose positions are not specified by the second input in their original order at the first positions.
Last: Put columns whose positions are not specified by the second input in their original order at the last positions.
Drop: Drop the columns whose positions are not specified by the second input.

Input Ports

Table containing columns to rearrange.
Table containing the new order for the columns.

Output Ports

Table with rearranged columns.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Update Site

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

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.