import pandas as pd
divisions = tuple(pd.date_range(start='2000', end='2001', freq='1D'))
df2 = df.set_index('timestamp', sorted=True, divisions=divisions)
Read Directory of Timeseries CSV data efficiently with Dask DataFrame and Pandas