I'm really new to python codes and having trouble with applying some of the answers for similar questions for my own case. Please help
So I have a dataframe with Column A and B, with numerous rows
Both contains negative and positive numbers, and I'm trying to make a new Column C with following conditions
If "Value of row 1, Column A is less than 0" & "Value of row 1, Column B is less than 0", return -100 in "row 1, Column C"
Elif "Value of row 1, Column A is less than 0" & "Value of row 1, Column B is greater than 0", return 100 in "row 1, Column C"
Elif "Value of row 1, Column A is greater than 0" & "Value of row 1, Column B is less than 0", return 100 in "row 1, Column C"
Else : return (Column A.Value / Column B.Value) in Column C
Thanks a lot