My dataFrame looks like this :
+---------------+------+--------+
|     Date      | Type | Number |
+---------------+------+--------+
| 14-March-2020 | A    |     10 |
| 14-March-2020 | B    |     20 |
| 14-March-2020 | C    |     30 |
| 15-March-2020 | A    |     40 |
| 15-March-2020 | B    |     50 |
| 15-March-2020 | C    |     60 |
+---------------+------+--------+
I want to transform it to :
+---------------+----+----+----+
|     Date      | A  | B  | C  |
+---------------+----+----+----+
| 14-March-2020 | 10 | 20 | 30 |
| 15-March-2020 | 40 | 50 | 60 |
+---------------+----+----+----+
I have tried using df.groupby('Date') - for an initial condensation - however that doesn't seem to work. Any help would be great.
 
    