I need to create a new column that meets the following conditions. in pandas
this is my current dataframe
Ruote B C D E
R1 115 1 150 -35
R2 155 1 150 5
R3 155 6 150 5
New column named F
Ruote B C D E F
R1 115 1 150 -35 0
R2 155 1 150 5 1
R3 155 6 150 5 5
Example of the conditions that column F must satisfy
IF “E” <= 0 , Put 0
IF “C “<= “E” Put “C “on the contrary Put “E”