I have a large dataset that is similar in structure to this:
I am trying to get an ouput that groups and sums by customer and metal like this:
Is there a simple way to do this in Pandas without having to iterate over rows? This difference I have here between this and other groupby() sum() questions is that in this case I am not trying to sum a single column, but multiple columns.