I have the following data.frame
df = structure(list(HEADER = c(\"HOME_TRPM\", \"AWAY_TRPM\", \"HOME_TEAM\",\"AWAY_TEAM\"), price = c(\"0.863
Using tibble package (of the tidyverse family), you can eliminate the undesirable effects of t().
tibble
tidyverse
t()
df_t = as_tibble(t(df), rownames = "row_names")