These seems like something very simple, but search as I might I just can\'t get past it.
I have a CSV file like this:
Day,Event,Value 1,\"Rent\",500
Given that 'value' is in column 2, you can perform the following simple for loop:
value_sum=0 for row in cr: value_sum += row[2]
Or, you can use a comprehension, if you understand it:
value_sum = sum([row[2] for row in cr])