How can I divide positive values of data frame row by a specific column and negative values of same data frame row, by another specific column?
Ex: I need that all values of the first row to be divided by "Assets"column as they are all positive.
On the second row, all values need to be dividided by "Assets" column, but the value associated to the column "RoW", because it is the only negative value of the row.
Any suggestions?