1 year ago

#74361

test-img

user458

Condition in formatting without else

Is there a way to skip else in formatting

f'\n Last date `{date.loc[i] if date.loc[i] != yesterday else 0}`'

I want nothing to be printed in case else. enter image description here

python

format

0 Answers

Your Answer

Accepted video resources