I have a CSV file that is comprised of three columns: Partners, Places and Values. 

There are duplicates in the column Partners so I sorted this data into a list of unique partner names: list(UNIQ)

I want to find the total value for each partner. I.e. take bob from the list of unique partners, and then go into the csv file and find all the values associated with bob and add them together.

Then take the name Bob and the total value and append it to a dictionary.

Repeat this process for all names in the list. 

so far my code is this:

```
PVAL = {'partner':0, 'value':0}

with open('/Users/tb/Desktop/data.csv', 'r') as f:
   EXP = csv.reader(f)
   for j in range(len(list(UNIQ))):
       P1 = list(UNIQ)[j]
       for row in EXP:
           if row[0] == P1:
              PVAL.update({'partner': row[0], 'value': row[2]})
print PVAL

```

this returns: {'partner': '1551e96b8234', 'value': '0.00541867434354'}

0.00541867434354 is just one of many values for for partner '1551e96b8234'.

I know I need to use the sum function but I can't crack it. 
In english the code should read " for all instances of bob in the csv file, sum up all the associated values and add them to the dictionary with bobs name."

Thanks