Python Sum values in excel with the same name

Hello I am using python and i need to sum the values with the same name in my excel.please support. my excel file look like this

**Name  Time**
mery    0:16
mery    0:28
mery    0:03
max     0:23
max     0:24
ali     0:05
ali     0:38
ali     0:17
ali     0:16

what i need is

**Name  Time**
mery    0:47
max 0:47
ali 1:16