The following codes run under Julia v1.6.1 and DataFrames v1.2.0.
To rename a column or columns, you need to use rename , or rename! . The difference is that rename creates a new data frame with the updated name(s) whereas rename! modifies the name(s) …