I've received data in this format:
Returns_data = data.frame(Year = 2020:2022,
Jan = c("0.14", "0.05", "-0.02"),
Feb = c("0.1", "0.03", "-0.07"),
Mar = c("-0.09", "0.01", "-0.06"),
Apr = c("0.03", "0.08", "-0.03"),
May = c("0.01", "0.12", "0.04"),
Jun = c("-0.2", "-0.05", "-0.24"),
Jul = c("0.11", "-0.15", "0.21"),
Aug = c("-0.04", "-0.09", "0.12"),
Sep = c("-0.08", "0.03", "0.06"),
Oct = c("0.05", "0.02", "-0.02"),
Nov = c("0.03", "-0.01", "0.05"),
Dec = c("0.01", "0.17", "-0.01"))
How can I can convert it so that it looks like it returns one variable that there are only to column variables: Date and Returns.