Rename
Processor that renames columns. It accepts either a direct
mapping of old name to new name, or a parallel cols and out pair giving the
source columns and their new names. Exactly one of the two modes must be provided.
Configuration
Selected as name: rename.
Option |
Description |
Type |
Default |
|---|---|---|---|
|
Mapping of existing column name to new name (mapping mode). |
mapping |
|
|
Columns to rename (paired mode, with |
column(s) |
|
|
New names, positionally matched to |
column(s) |
|
- name: rename
kwargs:
map: { dom_x: x, dom_y: y, dom_z: z }