@@ -447,9 +447,9 @@ Datetime with TZ
447
447
448
448
We are adding an implementation that natively supports datetime with timezones. A ``Series`` or a ``DataFrame`` column previously
449
449
*could* be assigned a datetime with timezones, and would work as an ``object`` dtype. This had performance issues with a large
450
- number rows. (:issue:`8260`, :issue:`10763`)
450
+ number rows. See the :ref:`docs <timeseries.timezone_series>` for more details. (:issue:`8260`, :issue:`10763`).
451
451
452
- The new implementation allows for having a single-timezone across all rows, and operating on it in a performant manner.
452
+ The new implementation allows for having a single-timezone across all rows, with operations in a performant manner.
453
453
454
454
.. ipython:: python
455
455
@@ -469,13 +469,15 @@ This uses a new-dtype representation as well, that is very similar in look-and-f
469
469
.. ipython:: python
470
470
471
471
df['B'].dtype
472
- type(df['B']) .dtype
472
+ type(df['B'].dtype)
473
473
474
474
.. note::
475
475
476
476
There is a slightly different string repr for the underlying ``DatetimeIndex`` as a result of the dtype changes, but
477
477
functionally these are the same.
478
478
479
+ Previous Behavior:
480
+
479
481
.. code-block:: python
480
482
481
483
In [1]: pd.date_range('20130101',periods=3,tz='US/Eastern')
@@ -486,12 +488,13 @@ This uses a new-dtype representation as well, that is very similar in look-and-f
486
488
In [2]: pd.date_range('20130101',periods=3,tz='US/Eastern').dtype
487
489
Out[2]: dtype('<M8[ns]')
488
490
491
+ New Behavior:
492
+
489
493
.. ipython:: python
490
494
491
495
pd.date_range('20130101',periods=3,tz='US/Eastern')
492
496
pd.date_range('20130101',periods=3,tz='US/Eastern').dtype
493
497
494
-
495
498
.. _whatsnew_0170.api_breaking.convert_objects:
496
499
497
500
Changes to convert_objects
0 commit comments