0 ×

Spark Category To Number

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

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


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.