I am trying to get my data frame to be more condense. I have two columns, school and color and would like to instead have all the colors for that school in separate columns.
sample data is as follows:
School Color
HS orange
HS black
MS black
MS purple
MS white
ES1 black
ES2 green
ES2 orange
I would instead like the data to look like:
School Color1 Color2 Color3
HS orange black NA
MS black purple white
ES1 black NA NA
ES2 green orange NA