Hi I have datamodel like this:
Number    Type
123       A
123       B
455       B
455       A
455       C
and I need to make some kind of a pivot table like this:
Number    A    B    C    SUM
123       1    1    0    2
455       1    1    1    3
Tried with pandas pivot table but with no positive results
Thank you
 
     
    