Simple way to set R column names as index
I’m new to R and looking for an easy way to get rid of column names in a R dataframe and return the names to their index [1,2,3,4..]. Something like combining .iloc and reset_index in pandas. I need the colnames initially before returning them to index so it can’t be a solution that involves the… Read More Simple way to set R column names as index