From e2fd900cd91fd41e69bd7e339b2879461ba20f61 Mon Sep 17 00:00:00 2001 From: maheshbapatu Date: Sun, 8 Dec 2019 15:56:14 +0530 Subject: [PATCH 1/2] Update v1.0.0.rst --- doc/source/whatsnew/v1.0.0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 7fe7970199b5e..3775d6ca57edb 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -679,7 +679,7 @@ Datetimelike - Bug in :meth:`Series.var` failing to raise ``TypeError`` when called with ``timedelta64[ns]`` dtype (:issue:`28289`) - Bug in :meth:`DatetimeIndex.strftime` and :meth:`Series.dt.strftime` where ``NaT`` was converted to the string ``'NaT'`` instead of ``np.nan`` (:issue:`29578`) - Bug in :attr:`Timestamp.resolution` being a property instead of a class attribute (:issue:`29910`) - +- Bug in :func:`pandas.core.tools.datetimes._attempt_YYYYMMDD` fialing to raise ``TypeError`` when called with ``None`` instead of ``NaT`` in to_datetime() (:issue:`30011`) Timedelta ^^^^^^^^^ - Bug in subtracting a :class:`TimedeltaIndex` or :class:`TimedeltaArray` from a ``np.datetime64`` object (:issue:`29558`) From 87b6f0067be81d4e60597ec9a6bddab7802b8221 Mon Sep 17 00:00:00 2001 From: maheshbapatu Date: Sun, 8 Dec 2019 16:01:37 +0530 Subject: [PATCH 2/2] Update v1.0.0.rst --- doc/source/whatsnew/v1.0.0.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 3775d6ca57edb..c267580f6d316 100644 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -679,7 +679,8 @@ Datetimelike - Bug in :meth:`Series.var` failing to raise ``TypeError`` when called with ``timedelta64[ns]`` dtype (:issue:`28289`) - Bug in :meth:`DatetimeIndex.strftime` and :meth:`Series.dt.strftime` where ``NaT`` was converted to the string ``'NaT'`` instead of ``np.nan`` (:issue:`29578`) - Bug in :attr:`Timestamp.resolution` being a property instead of a class attribute (:issue:`29910`) -- Bug in :func:`pandas.core.tools.datetimes._attempt_YYYYMMDD` fialing to raise ``TypeError`` when called with ``None`` instead of ``NaT`` in to_datetime() (:issue:`30011`) +- Bug in :func:`pandas.core.tools.datetimes._attempt_YYYYMMDD` fialing to raise ``TypeError`` when called with ``None`` instead of ``NaT`` in to_datetime() (:issue:`30011`) + Timedelta ^^^^^^^^^ - Bug in subtracting a :class:`TimedeltaIndex` or :class:`TimedeltaArray` from a ``np.datetime64`` object (:issue:`29558`)