Jak ustawić kolumnę jako indeks r

rownames(df) <- df$Date
Cheerful Corncrake