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.