I have a simple pandas dataframe with a date as index:
import pandas as pd data = {\'date\': [\'2010-01-04\',\'2014-03-15\',\'2017-07-15\',\'2019-12-28\',\'2005-