Transform
AI-generatedSummary
Transforms a categorical column to integer labels using a fitted scikit-learn LabelEncoder.
Inputs
- main (required) — Input items containing the column to encode.
Output shape
same
Each item receives an additional column with the encoded integer values.
Examples
Example 1: Encode a 'category' column using encoder data from a previous Fit Transform step.
Set Operation to Transform, provide encoderData from the Fit Transform node, set Column to 'category', optionally set Output Column to 'category_encoded'.