If I have a list with two columns (name and its corresponding value), how do I convert it into a data frame with the two labels?
Desired output:
NAME NUMBER
Andy 50534
Angela 15857
Creed 5004
Darryl 12246
I don't know why when I used as.data.frame(df), it gave me a horizontal data frame like this:
Andy Angela Creed Darryl
50534 15857 5004 12246