How do I calculate specific values?? | Sololearn: Learn to code for FREE!
0

How do I calculate specific values??

i want to add '60' to 'only negative number' in DateFlame.

23rd Aug 2018, 2:21 AM
Haruto
Haruto - avatar
1 Réponse
+ 1
I think I understand your question. Have you tried something like below? for each in dataframe: if each < 0: each + 60
4th Sep 2018, 1:44 AM
Steven M
Steven M - avatar