I have the following example table:
cols = [\'2000-01-01\', \'2000-02-01\', \'2001-03-01\', \'2001-04-01\', \'2002-05-01\'] vals = np.arange(5) df = pd.DataFr