Closed
Description
Works with datetime.datetime, does not work with pandas.tslib.Timestamp.
Encounter the issue when trying to resample hourly a series.
import pandas as pd
from datetime import datetime as dt
import pytz
tz = 'Europe/Berlin'
d = dt(2014,10,26,02,00)
tz = pytz.timezone(tz)
tz.localize(d)
x = pd.Series(0., [d]).index[0]
x.tz_localize(tz)