Current Df of:
XXXX apples -1000000 Bob
XXXX oranges -1000000 Sam
AAAA apples -2400000 Bob
XXXX pears 1000000 Bob
XXXX pears 1000000 Sam
XXXX grapes 1000000 Bob
AAAA grapes 1000000 Bob
XXXX apples 1200000 Bob
AAAA apples 1900000 Sam
XXXX grapes -1100000 Sam
I want to multiple the qauntity in the 3rd column by -1 if the first column is equal to 'XXXX' nd the fourth column is equal to 'Bob'
I have tried using loc and filtering on the condition but can't seem to get this right