thanks for checking my question. I have an array of array, as you can see below, what i want to do is some kind of loop, map or foreach, and end up with a unique category, and all the values belonging to that category added up
This is what i have
0: Array [ "Repeated Value", 100 ]
1: Array [ "Repeated Value", 200 ]
2: Array [ "Repeated Value", 150 ]
3: Array [ "Unique Value 1 ", 90 ]
4: Array [ "Unique Value 2", 32.5 ]
This is what i want in the outcome
0: Array [ "Unique Value 0", 450 ]
1: Array [ "Unique Value 1 ", 90 ]
2: Array [ "Unique Value 2", 32.5 ]