serangkaian tanggal python
#To change the number of days created change the number of periods
ten_days = pd.date_range(start='2021-7-26', periods=10)
print(ten_days)
M.U
#To change the number of days created change the number of periods
ten_days = pd.date_range(start='2021-7-26', periods=10)
print(ten_days)
base = datetime.datetime.today()
date_list = [base - datetime.timedelta(days=x) for x in range(numdays)]