From fe530f08508b6d66d565b80b116b477189938c91 Mon Sep 17 00:00:00 2001 From: Ka Wo Chen Date: Wed, 6 Jan 2016 20:24:24 -0500 Subject: [PATCH] DOC: whatsnew Timestamp addition example fix up --- doc/source/whatsnew/v0.18.0.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/whatsnew/v0.18.0.txt b/doc/source/whatsnew/v0.18.0.txt index 498cfaf838320..4d35d7f833ddf 100644 --- a/doc/source/whatsnew/v0.18.0.txt +++ b/doc/source/whatsnew/v0.18.0.txt @@ -212,8 +212,8 @@ as opposed to .. code-block:: python - In [3]: pd.Timestamp('1990315') + pd.Timestamp('19900315') - ValueError: + In [3]: pd.Timestamp('19900315') + pd.Timestamp('19900315') + TypeError: unsupported operand type(s) for +: 'Timestamp' and 'Timestamp' However, when wrapped in a ``Series`` whose ``dtype`` is ``datetime64[ns]`` or ``timedelta64[ns]``, the ``dtype`` information is respected.