0 ×

Spark Category To Number

KNIME Extension for Apache Spark core infrastructure version 4.2.0.v202007072005 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

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Extension for Apache Spark from the following update site:


A zipped version of the software site can be downloaded here. Read our FAQs to get instructions about how to install nodes from a zipped 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.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.