Rename columns in Table

../../../../_images/rename_columns.svg

Rename the Table columns by using regular expressions.

Documentation

Rename columns in Table(s) using a regular expression.

Group references may be used in the replacement expression.

If several columns match the search expression resulting in the same column name, the last of the matching columns will be copied to the output and the other columns will be removed. Note that renamed columns (i.e. any columns that match the search expression) always take precedence over non-renamed ones.

Definition

Input ports

Input

table

Input

Output ports

Output

table

Output

Configuration:
Mode (mode)

(no description)

Search (src_expr)

Specify the regular expression which will be replaced

Replace (dst_expr)

Specify the regular expression for replacement

class node_rename_columns.RenameTableColumns[source]

Related nodes

Example flows