Overview
The Encoding node is a transformation node in a Weave Workflow that converts string-value columns into label-based indices, represented as vectors. It sits in the middle of a Workflow’s processing path — between source nodes (Data Import) and terminal nodes (Result, Output) — and emits the transformed data downstream.
The node applies to the columns selected in the Encoding popup. Each selected column’s values are converted to a vector form; unselected columns pass through unchanged.
Note: “Workflow” is the in-UI term for what some Weave documentation calls a pipeline. This reference uses “Workflow.”
When to use it
- Converting categorical or string-value columns into numeric vector representations for downstream processing.
- Preparing data that requires label-based indices rather than raw string values.
- Encoding one or more selected columns while leaving the remaining columns unchanged.
Configuration
| Step | Description |
| Select | Opens the Encoding popup listing the columns in the upstream data. |
| Select All | Selects every column in the popup. |
| Column checkboxes | Choose the columns to encode. Unselected columns pass through unchanged. |
| Apply | Commits the column selection. |
Output
| Output element | Description |
| Encoded columns | Selected columns are converted to a vector form, for example (6,[1],[1.0]). |
| Pass-through columns | Columns not selected retain their original values. |
Key behaviors
Encoding is a transformation node. Unlike Data Import (source) and Result / Output (terminal), it sits in the middle of the Workflow, receiving data upstream, transforming the selected columns, and passing the result downstream.
Selection-scoped. Only the columns selected in the Encoding popup are encoded; all other columns pass through unchanged.
Vector output. Encoded values are emitted in vector form rather than as the original string, representing the label-based index.