Added function for making average day DF