Invert Category Sign

This component inverts the signs of the values attached to given categories. You select the value column to invert the signs from, the categories with the values to be reverted, and finally the name for the newly appended column that contains the reverted values. Optionally, you can specify whether you want the result to be rounded to an integer number.

Options

Return Integer Values
If you want the appended column to have integer values, select this checkbox.
Replace Value Column
If set, the output column with inverted sign on selected categories will replace the original value column.
Resort Output as Input
If set, the output rows will have the same order as the input rows. This can be computationally expensive.
Value Column
The column whose values you would like to have inverted. Only numeric values are allowed.
Categories to Be Inverted
The category column and the categories for which the values are to be inverted.
New Column Name
The name of the appended column with inverted values.

Input Ports

Icon
Input data with at least a numerical and a categorical column.

Output Ports

Icon
Output data with inverted values for selected categorical values.

Nodes

Extensions

Links