I have the following Julia Daataframe;
data_test = DataFrame(Time = 1:2, X1 = [0,1], X2 = [10,5])
And I have a list of names as follows;
technology = ["oil", "gas"]
How do I rename columns X1 and X2 using the list (excluding Time column). I can do it manually, however, this is not an efficient option to rename hundreds of columns. So, essentially, I'm what I'm looking for is a way to map the list of names to the columns. Any efficient solution is highly appreciated.