DATASET RENAME COLUMN

Renames a single column in a dataset by replacing the specified source column name with a new target name. Use this worker whenever a column label needs to be corrected, standardised, or aligned with downstream expectations.

When to use

Classification: process.

Tagged: column, dataset, relabel, rename, transform.

Inputs

Label ID Type Default Required Description
Choose Dataset dataset_1 dataset   Input dataset whose column will be renamed; accepts any tabular dataset available in the workflow.
From from text   Exact current name of the column to rename; must match the column header in the input dataset exactly (case-sensitive).
To to text   New name to assign to the column; the output dataset will use this label in place of the original column name.

Outputs

Label ID Type Description
dataset_rename_column_output_1 dataset_rename_column_output_1 dataset Transformed dataset identical to the input but with the specified column renamed to the value supplied in the ‘to’ field.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=dataset_rename_column


Auto-generated from transformation schema. Worker id: dataset_rename_column. Schema hash: 864fed250e79. Hand-curated docs in workerexamples/ override this page when present.