Skip to content

Rename Columns

Description

The Rename Columns activity allows you to change column names in a dataset using a user-defined mapping of existing column names to new ones. This is especially useful when working with data from diverse sources that use inconsistent or undescriptive column headers.

By renaming columns, you can make your data easier to understand, standardize naming conventions, or prepare it for integration with other systems or tools.

Use this activity to:

  • Standardize inconsistent column names from different sources
  • Improve readability before presenting data
  • Align column headers with naming conventions expected by downstream activities

Use case: If a dataset from an external vendor uses cryptic field names like col1, col2, etc., this activity can rename them to Product, Category, and Price for clarity and consistency.

Input

TypeDescription
DataTabular data with original column headers.

Output

Output TypeFormatDescription
DataTableThe same dataset with updated column names.

Configuration Fields

Field NameDescription
Column MapA mapping of existing column names to their new names. You can define multiple rename pairs in the format:
Original Name → New Name.
For example: id → index, product → result

Sample Input

idcategoryproductpricein_stock
1ElectronicsLaptop500true
2ElectronicsCamera350false
3ElectronicsTablet250true
4FurnitureSofa600true
5FurnitureBed450true
6FurnitureTable150false

Sample Configuration

Original ColumnNew Column
idindex
productresult

Only id and product are renamed. The remaining columns stay unchanged.

Sample Output

indexcategoryresultpricein_stock
1ElectronicsLaptop500true
2ElectronicsCamera350false
3ElectronicsTablet250true
4FurnitureSofa600true
5FurnitureBed450true
6FurnitureTable150false