rename command renames one or more table columns.
Use comma to separate columns that are going to be renamed. Use quotation or single quotation marks with names that consist of more than one word.
You can rename one or more existing table columns. However, you will get an error if you try to give two different names to the same table column.
%dpl index=example | rename _time as time, _raw as prices
You can also rename table columns that are created with
table or other transform command.
%dpl index=f17_mini | spath | table rainfall_rate, wind_speed | rename rainfall_rate as "Rainfall rate", wind_speed as "Wind speed"