BUG: unstack fails in PeriodIndex
Merge pull request #7041 from sinhrks/unstack

BUG: unstack fails in PeriodIndex