Closed
Description
dti = pd.date_range("2016-01-01", periods=3, tz="US/Pacific")
>>> pd.DataFrame(dti, index=range(4))
0
0 2016-01-01 00:00:00-08:00
1 2016-01-02 00:00:00-08:00
2 2016-01-03 00:00:00-08:00
3
>>> pd.DataFrame(dti.tz_localize(None), index=range(4))
ValueError: Shape of passed values is (3, 1), indices imply (4, 1)