if I have a pandas dataframe with an datetime-index like (really simplified version of my problem)
date = pd.date_range(start=\'2019-05-01\', end=\'2020-03-03