You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API/BUG: a timeseries/index localized to UTC when inserted into a Series/DataFrame will preserve the UTC timezone (rather than being a naive datetime64[ns]) as object dtype (GH8411)
- ``tz_localize`` now accepts the ``ambiguous`` keyword which allows for passing an array of bools
154
-
indicating whether the date belongs in DST or not, 'NaT' for setting transition times to NaT,
155
-
'infer' for inferring DST/non-DST, and 'raise' (default) for an AmbiguousTimeError to be raised. See :ref:`the docs<timeseries.timezone_ambiguous>` for more details (:issue:`7943`)
156
-
157
-
- ``DataFrame.tz_localize`` and ``DataFrame.tz_convert`` now accepts an optional ``level`` argument
158
-
for localizing a specific level of a MultiIndex (:issue:`7846`)
159
-
- ``Timestamp.tz_localize`` and ``Timestamp.tz_convert`` now raise ``TypeError`` in error cases, rather than ``Exception`` (:issue:`8025`)
160
-
- ``Timestamp.__repr__`` displays ``dateutil.tz.tzoffset`` info (:issue:`7907`)
161
144
- ``merge``, ``DataFrame.merge``, and ``ordered_merge`` now return the same type
162
145
as the ``left`` argument. (:issue:`7737`)
163
146
@@ -305,6 +288,12 @@ You can easily produce tz aware transformations:
- ``tz_localize`` now accepts the ``ambiguous`` keyword which allows for passing an array of bools
335
+
indicating whether the date belongs in DST or not, 'NaT' for setting transition times to NaT,
336
+
'infer' for inferring DST/non-DST, and 'raise' (default) for an AmbiguousTimeError to be raised. See :ref:`the docs<timeseries.timezone_ambiguous>` for more details (:issue:`7943`)
337
+
338
+
- ``DataFrame.tz_localize`` and ``DataFrame.tz_convert`` now accepts an optional ``level`` argument
339
+
for localizing a specific level of a MultiIndex (:issue:`7846`)
340
+
341
+
- ``Timestamp.tz_localize`` and ``Timestamp.tz_convert`` now raise ``TypeError`` in error cases, rather than ``Exception`` (:issue:`8025`)
342
+
343
+
- a timeseries/index localized to UTC when inserted into a Series/DataFrame will preserve the UTC timezone (rather than being a naive ``datetime64[ns]``) as ``object`` dtype (:issue:`8411`)
344
+
345
+
- ``Timestamp.__repr__`` displays ``dateutil.tz.tzoffset`` info (:issue:`7907`)
0 commit comments