Generate a date range index

PHOTO EMBED

Sun Aug 22 2021 19:31:45 GMT+0000 (Coordinated Universal Time)

Saved by @jmbenedetto #python

pd.date_range(start="2021-08-16", end=pd.Timestamp.today().strftime("%Y-%m-%d"), name="action_date", closed="left")
content_copyCOPY

closed='left' do not includes the end date.