I have a summary df that looks like this:
Apples 100
Bananas 34
Kumquats 54
Greengages 101
Apples;Kumquats 5
Bananas;Greengages 7
And I want to simplify it by splitting up the counts for combined fruit into individual items:
Apples 105
Bananas 41
Kumquats 59
Greengages 108
i.e. I've dropped rows like Apples;Kumquats but increased both Apples and Kumquats by 5.
Is there a good way to do this in Pandas?