May-09-2019, 07:52 PM
It's not clear for me what rows starting from #39 suppose to do.
If function returns something, control returns to the function caller. This means that after hitting first return function is done.
If you change dataframe you don't need to return anything.
I observe that there is no January + there are ways to express this logic in more DRY (Don't Repeat Yourself) style:
If function returns something, control returns to the function caller. This means that after hitting first return function is done.
If you change dataframe you don't need to return anything.
I observe that there is no January + there are ways to express this logic in more DRY (Don't Repeat Yourself) style:
from calendar import month_name for month in month_name: if month not in list(dataframe): dataframe.assign(month='')
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.