0 ×

Spark Category To Number

KNIME Extension for Apache Spark core infrastructure version 2.4.0.v201811301556 by KNIME AG, Zurich, Switzerland

Maps nominal column to double columns.


Mapping type
The mapping type to use.
  • Column: Uses a separate dictionary for each column
  • Global: Uses a global dictionary for all columns
  • Binary: Converts the selected columns into binary vectors by generating a new column for each unique column value.
Keep original columns
Select this option to keep the original columns otherwise all selected columns to convert are removed from the output table.
Columns to convert
The columns to convert

Input Ports

Input Spark DataFrame/RDD.

Output Ports

Mapped input Spark DataFrame/RDD
PMML mapping dictionary


To use this node in KNIME, install KNIME Extension for Apache Spark core infrastructure 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.