pandas add days to date

45

pandas add days to date -

# get the timestamp 5 days later the beginning one
from datetime import timedelta
pd.to_datetime('2020-11-28') + timedelta(days=5)
>>> Timestamp('2020-12-05 00:00:00')

Comments

Submit
0 Comments