Series.tz_localize(tz, axis=0, level=None, copy=True, ambiguous='raise')
[source]
Localize tz-naive TimeSeries to target time zone.
Parameters: |
level : int, str, default None If axis ia a MultiIndex, localize a specific level. Otherwise must be None copy : boolean, default True Also make a copy of the underlying data ambiguous : ‘infer’, bool-ndarray, ‘NaT’, default ‘raise’
|
---|---|
Raises: |
TypeError If the TimeSeries is tz-aware and tz is not None. |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Series.tz_localize.html