How do I calculate specific values?? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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