How do you change a DatetimeIndex into a simple dataframe like this:
month
0 2013-07-31
1 2013-08-31
2 2013-09-30
3 2013-10-31
This is the DatetimeIndex:
DatetimeIndex(['2013-07-31', '2013-08-31', '2013-09-30', '2013-10-31',
'2013-11-30', '2013-12-31', '2014-01-31', '2014-02-28',
'2014-03-31', '2014-04-30', '2014-05-31', '2014-06-30'],
dtype='datetime64[ns]', freq='M')
Thank you.

pd.DataFrame(your_dt_index, columns=['month'])