Oct-13-2019, 10:11 PM
(This post was last modified: Oct-13-2019, 10:12 PM by ClimbAddict.)
I would try using the dictionary
Unique = {} for row in data_set: Product_name = row[1] Count = row[2] if Product_name in Unique: Unique = Unique[Product_name] + Count