Note that there is a handy PeriodIndex version of pd.date_range:<p><pre><code> pd.period_range(date_from, date_to, freq = "D")
</code></pre>
AFAICT, a PeriodIndex and DateTimeIndex function mostly the same, and have many of the same methods, except...<p><pre><code> * DateTimeIndex can't hold dates far in the future
* PeriodIndex can't easily round to the end of a period (e.g. date + 0*MonthEnd() errors)
* PeriodIndex doesn't handle timezones?</code></pre>