I've got a dataframe called data
. How would I rename the only one column header? For example gdp
to log(gdp)
?
data = y gdp cap0 1 2 51 2 3 92 8 7 23 3 4 74 6 7 75 4 8 36 8 2 87 9 9 108 6 6 49 10 10 7