I have a dataframe df and the column names are 1, 10, 20, 30.
I perform an interpolation which expands df by adding one column in between each existing columns (it is the midpoint). Doing this destroys column names.
What would be a formula/method to re-assign column names here? I should be getting:
1, 5, 10, 15, 20, 25, 30.