I need to reconfigure a df that entries based on Location and year but with multiple entries. I need them all grouped by Location and year so I can process it.
Location Year Type Value
1 1 A 1.3
1 1 B 2.1
1 1 C 3.6
2 1 A 1.7
2 1 B 2.8
2 1 C 0.9
...
into
Location Year ValueA ValueB ValueC
1 1 1.3 2.1 3.6
2 1 1.7 2.8 0.9