I have a dataset like the below:
Category Date 1 Date 2
a 2017-01-01 2017-08-01
What I want to be able to do is to transpose this data so I have a record for each month between the two dates e.g.
Category Date
a 2017-01-01
a 2017-02-01
a 2017-03-01
.....
a 2017-08-01
I need to do this in python and my data is already in a pandas dataframe. Dates are in datestamps format YYYY-MM-DD