Pandas Invert Sign for Selected Index

Viewed 4237

In my data below referring to the index, Revenue is in positive values, while the Costs i.e. Direct Cost, Manpower, Supplies & Material, Other Operating Cost are in negative values following finance convention.

Sample Data

How can I transform the data so that:

  • Revenue row is unchanged
  • Other rows will have their values inverted i.e. multiply by -1
2 Answers
Related