mlr --csv rename name,employee data.csv

Category: Data Science & Analysis

mlr --csv rename name,employee data.csv

Rename the name column to employee

The rename verb changes field names, here name becomes employee throughout the file. Multiple renames can be given as comma-separated old,new pairs. Headers in the output reflect the new names while all values stay untouched. This keeps downstream tools seeing consistent column names.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.