I have data in csv which i am reading with pandas. The data is of this format-
name company income saving
A AA 100 10
B AA 200 20
I wish to create a new row with name A, company AA and income and saving being difference of A and B.
Expected output-
name company income saving
A AA -100 -10