Categories
Development

Generate data for dates based on a constraint

I have a dataframe df1 having column for date_1 with values from 01/09/2019 to 30/09/2019. i.e. 30 values and respective count. DF1 date_1 count 01/09/2019 5 02/09/2019 4 03/09/2019 5 04/09/2019 6 05/09/2019 7 06/09/2019 8 07/09/2019 10 08/09/2019 9 09/09/2019 11 10/09/2019 12 11/09/2019 13 12/09/2019 14 13/09/2019 15 14/09/2019 16 I want to […]