pandas.Series.tz_localize¶
- Series.tz_localize(tz, copy=True)¶
Localize tz-naive TimeSeries to target time zone Entries will retain their “naive” value but will be annotated as being relative to the specified tz.
After localizing the TimeSeries, you may use tz_convert() to get the Datetime values recomputed to a different tz.
Parameters : tz : string or pytz.timezone object
copy : boolean, default True
Also make a copy of the underlying data
Returns : localized : TimeSeries