I want to aggregate multiple rows in a dataset. However, the usual functions I found on the net are "sum()" and "mean()".
I have How can I aggregate multiple rows:
Movie | Comedy | Horror | Drama
A         1        0        0
A         0        0        1    
B         0        1        0
B         0        0        1
to
Movie | Comedy | Horror | Drama
A         1        0        1
B         0        1        1
 
    