I have a dataframe like below:
Name Department Spent Jack Cars 150 Jack Clothes 50 Jack Food 200 Jill Cars 50 Jill Clothes 500 Jil