BUG: fix take platorm issue with PeriodIndex (GH3579)

closes #3579