From f24336a569bc35b1c31c166f0d2b8c463d79054a Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 31 Jan 2020 15:03:58 +0100 Subject: [PATCH] Backport PR #31494: DOC: move whatnew entry for invert from 1.0.0 t 1.0.1 --- doc/source/whatsnew/v1.0.0.rst | 3 --- doc/source/whatsnew/v1.0.1.rst | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/source/whatsnew/v1.0.0.rst b/doc/source/whatsnew/v1.0.0.rst index 5cde01310eeea..b0b88c8b04ad1 100755 --- a/doc/source/whatsnew/v1.0.0.rst +++ b/doc/source/whatsnew/v1.0.0.rst @@ -1108,7 +1108,6 @@ Numeric - Bug in :meth:`DataFrame.round` where a :class:`DataFrame` with a :class:`CategoricalIndex` of :class:`IntervalIndex` columns would incorrectly raise a ``TypeError`` (:issue:`30063`) - Bug in :meth:`Series.pct_change` and :meth:`DataFrame.pct_change` when there are duplicated indices (:issue:`30463`) - Bug in :class:`DataFrame` cumulative operations (e.g. cumsum, cummax) incorrect casting to object-dtype (:issue:`19296`) -- Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) - Bug in :class:`~DataFrame.diff` losing the dtype for extension types (:issue:`30889`) - Bug in :class:`DataFrame.diff` raising an ``IndexError`` when one of the columns was a nullable integer dtype (:issue:`30967`) @@ -1261,8 +1260,6 @@ ExtensionArray - Bug in :class:`arrays.PandasArray` when setting a scalar string (:issue:`28118`, :issue:`28150`). - Bug where nullable integers could not be compared to strings (:issue:`28930`) - Bug where :class:`DataFrame` constructor raised ``ValueError`` with list-like data and ``dtype`` specified (:issue:`30280`) -- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) - Other ^^^^^ diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index b84448e3bf896..ff8433c7cafd9 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -43,7 +43,7 @@ Timezones Numeric ^^^^^^^ -- +- Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) - Conversion @@ -117,7 +117,7 @@ Sparse ExtensionArray ^^^^^^^^^^^^^^ -- +- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) -