### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »

# pandas.DatetimeIndex.tz_localize

`DatetimeIndex.``tz_localize`(tz, infer_dst=False)

  Localize tz-naive DatetimeIndex to given time zone (using pytz/dateutil)

  Parameters : | tz : string or pytz.timezone or dateutil.tz.tzfile Time zone for time. Corresponding timestamps would be converted to time zone of the TimeSeries infer_dst : boolean, default False Attempt to infer fall dst-transition hours based on order
  Returns : | localized : DatetimeIndex

### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »