Sorry if the title is not clear i'm a newbie, hopefully an exemple will make it more understandable. So let's take this DataFrame :
Area     AorB     Population
Hah      A         23
Hah      B         8
Hah      C         78
Ryu      A         150
Ryu      B         61
Ryu      C         17
I'd like to create a dataframe which would have a column with the 2 Areas, 3 columns named Apop, Bpop and Cpop and the corresponding population. It should look like that :
Area     Apop   Bpop   Cpop
Hah      23     8      78
Ryu      150    61     17
It might sounds dumb but i've been searching for hours how to do this D: help.
 
     
    