I have some quarterly data that I need to convert to monthly in order to work with another data set. The data looks like this:
Date Value
1/1/2010 100
4/1/2010 130
7/1/2010 160
What I need to do is impute the values for the missing months so that it looks like this:
Date Value
1/1/2010 100
2/1/2010 110
3/1/2010 120
4/1/2010 130
5/1/2010 140
6/1/2010 150
7/1/2010 160
Couldn't find many previous questions on how to do this. Only the reverse (monthly to quarterly). I tried one of those methodologies in reverse, but it didn't work:
pd.PeriodIndex(df.Date, freq='M')
What would be the easiest way to go about doing this in Pandas?