I have a dataframe where one column has a list of zipcodes and the other has property values corresponding to the zipcode. I want to sum up the property values in each row according to the appropriate zipcode.
So, for example:
zip value
2210 $5,000
2130 $3,000
2210 $2,100
2345 $1,000
I would then add up the values
$5,000 + $2,100 = $7,100
and reap the total property value of for zipcode 2210 as $7,100.
Any help in this regard will be appreciated