My input dataframe is;
Date         ID    Sub    Amount Result
2018-01-01   42    100    45     default
2018-01-04   42    100    14     notdefault
2018-01-24   42    100    10     default
2018-01-03   43    101    12     notdefault
2018-02-03   43    101    21     default
Dataframs is ordered by ID and Date. And i want to convert the dataframe like this;
ID   Sub   Default1 Default2 ...
42   100   45       10
43   101   21       -
Could you please help me about this?
