I have a dataframe where the date is the first day of the month
date spend category
1/Feb/2018 565 Red
1/Dec/2019 674 Blue
1/Feb/2019 878 Green
I'd like to create extra rows in the dataframe to include every day in the month, whilst duplicating the other data
date spend category
1/Feb/2018 565 Red
2/Feb/2018 565 Red
.
.
.
27/Feb/2018 565 Red
28/Feb/2018 565 Red
1/Dec/2019 674 Blue
2/Dec/2019 674 Blue
.
.
.
30/Dec/2019 674 Blue
31/Dec/2019 674 Blue
1/Feb/2019 878 Green
2/Feb/2019 878 Green
.
.
27/Feb/2019 878 Green
28/Feb/2019 878 Green
I have a long way of doing this but is there a quick couple of lines that can achieve the same thing?
thanks alot,