I have a df that looks like following and I would like to transform it to the one on right. What should I do? how should I handle for value?
df<-structure(list(Class = c("A", "A", "B", "B", "B", "C", "C", "C"
), standard = c("A", "U", "B", "B", "U", "U", "C", "C"), Subject = c("Math",
"ELA", "Math", "ELA", "PE", "ELA", "Art", "Math"), Score = c(95,
80, 73, 82, 75, 80, 88, 82)), row.names = c(NA, -8L), class = c("tbl_df",
"tbl", "data.frame"))