How to resample a df with datetime index to exactly n equally sized periods?,"df.resample('3D', how='sum')"