From 28e85edbcc61abf432c7d18653b3f6f522fa9313 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 3 Feb 2020 11:28:29 +0100 Subject: [PATCH 1/5] DOC: combine regressions in section in v1.0.1 whatsnew --- doc/source/whatsnew/v1.0.1.rst | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index 6d5a2a777be9e..21038ed6aefca 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -10,6 +10,23 @@ including other versions of pandas. .. --------------------------------------------------------------------------- +.. _whatsnew_0241.regressions: + +Fixed regressions +~~~~~~~~~~~~~~~~~ + +- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ``df[-4:] = 1``) indexing by label instead of position (:issue:`31469`) +- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by ``DatetimeIndex`` with a slice containg a :class:`datetime.date` (:issue:`31501`) +- Fixed regression in :class:`Series` multiplication when multiplying a numeric :class:`Series` with >10000 elements with a timedelta-like scalar (:issue:`31457`) +- Fixed regression in :meth:`GroupBy.apply` if called with a function which returned a non-pandas non-scalar object (e.g. a list or numpy array) (:issue:`31441`) +- Fixed regression in :meth:`to_datetime` when parsing non-nanosecond resolution datetimes (:issue:`31491`) +- Fixed regression in :meth:`~DataFrame.to_csv` where specifying an ``na_rep`` might truncate the values written (:issue:`31447`) +- Fixed regression where setting :attr:`pd.options.display.max_colwidth` was not accepting negative integer. In addition, this behavior has been deprecated in favor of using ``None`` (:issue:`31532`) +- Fixed regression in objTOJSON.c fix return-type warning (:issue:`31463`) +- Fixed regression in :meth:`qcut` when passed a nullable integer. (:issue:`31389`) + +.. --------------------------------------------------------------------------- + .. _whatsnew_101.deprecations: Deprecations @@ -23,7 +40,6 @@ Deprecations Bug fixes ~~~~~~~~~ -- Bug in :meth:`GroupBy.apply` was raising ``TypeError`` if called with function which returned a non-pandas non-scalar object (e.g. a list) (:issue:`31441`) Categorical ^^^^^^^^^^^ @@ -33,7 +49,7 @@ Categorical Datetimelike ^^^^^^^^^^^^ -- Fixed regression in :meth:`to_datetime` when parsing non-nanosecond resolution datetimes (:issue:`31491`) + - Fixed bug in :meth:`to_datetime` raising when ``cache=True`` and out-of-bound values are present (:issue:`31491`) Timedelta @@ -51,8 +67,8 @@ Timezones Numeric ^^^^^^^ + - Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) -- Bug in :class:`Series` multiplication when multiplying a numeric :class:`Series` with >10000 elements with a timedelta-like scalar (:issue:`31467`) - Conversion @@ -77,10 +93,6 @@ Interval Indexing ^^^^^^^^ -- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by ``DatetimeIndex`` with a slice containg a :class:`datetime.date` (:issue:`31501`) -- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ``df[-4:] = 1``) indexing by label instead of position (:issue:`31469`) -- -- - Bug where assigning to a :class:`Series` using a IntegerArray / BooleanArray as a mask would raise ``TypeError`` (:issue:`31446`) Missing @@ -98,7 +110,6 @@ MultiIndex I/O ^^^ -- Fixed regression in :meth:`~DataFrame.to_csv` where specifying an ``na_rep`` might truncate the values written (:issue:`31447`) - - @@ -131,14 +142,11 @@ ExtensionArray ^^^^^^^^^^^^^^ - Bug in dtype being lost in ``__invert__`` (``~`` operator) for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) -- Bug where :meth:`qcut` would raise when passed a nullable integer. (:issue:`31389`) - Other ^^^^^ -- Regression fixed in objTOJSON.c fix return-type warning (:issue:`31463`) -- Fixed a regression where setting :attr:`pd.options.display.max_colwidth` was not accepting negative integer. In addition, this behavior has been deprecated in favor of using ``None`` (:issue:`31532`) - .. --------------------------------------------------------------------------- From 7c7b8fdfccdacf067675263dc3ad5f9e557f3e98 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 3 Feb 2020 11:35:06 +0100 Subject: [PATCH 2/5] move more --- doc/source/whatsnew/v1.0.1.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index 21038ed6aefca..c6f411c91a108 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -24,6 +24,7 @@ Fixed regressions - Fixed regression where setting :attr:`pd.options.display.max_colwidth` was not accepting negative integer. In addition, this behavior has been deprecated in favor of using ``None`` (:issue:`31532`) - Fixed regression in objTOJSON.c fix return-type warning (:issue:`31463`) - Fixed regression in :meth:`qcut` when passed a nullable integer. (:issue:`31389`) +- Fixed regression in assigning to a :class:`Series` using a nullable integer dtype (:issue:`31446`) .. --------------------------------------------------------------------------- @@ -93,7 +94,7 @@ Interval Indexing ^^^^^^^^ -- Bug where assigning to a :class:`Series` using a IntegerArray / BooleanArray as a mask would raise ``TypeError`` (:issue:`31446`) +- Missing ^^^^^^^ From 71068d394ac29aed19cae3bf763cd70686d468f0 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 3 Feb 2020 12:40:16 +0100 Subject: [PATCH 3/5] label --- doc/source/whatsnew/v1.0.1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index c6f411c91a108..f42f77dc5b968 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -10,7 +10,7 @@ including other versions of pandas. .. --------------------------------------------------------------------------- -.. _whatsnew_0241.regressions: +.. _whatsnew_101.regressions: Fixed regressions ~~~~~~~~~~~~~~~~~ From caa03bed7833658b0dc64b701ef827d9702c4344 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 3 Feb 2020 13:38:31 +0100 Subject: [PATCH 4/5] remove bug fixes subsections --- doc/source/whatsnew/v1.0.1.rst | 102 ++------------------------------- 1 file changed, 4 insertions(+), 98 deletions(-) diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index f42f77dc5b968..2d0b6c1a1e761 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -42,113 +42,19 @@ Deprecations Bug fixes ~~~~~~~~~ -Categorical -^^^^^^^^^^^ - -- -- - -Datetimelike -^^^^^^^^^^^^ +**Datetimelike** - Fixed bug in :meth:`to_datetime` raising when ``cache=True`` and out-of-bound values are present (:issue:`31491`) -Timedelta -^^^^^^^^^ - -- -- - -Timezones -^^^^^^^^^ - -- -- - - -Numeric -^^^^^^^ +**Numeric* - Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) -- - -Conversion -^^^^^^^^^^ - -- -- - -Strings -^^^^^^^ - -- -- - - -Interval -^^^^^^^^ - -- -- - -Indexing -^^^^^^^^ - -- + and for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) -Missing -^^^^^^^ - -- -- - -MultiIndex -^^^^^^^^^^ - -- -- - -I/O -^^^ - -- -- - -Plotting -^^^^^^^^ +**Plotting** - Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`) -- - -Groupby/resample/rolling -^^^^^^^^^^^^^^^^^^^^^^^^ - -- -- - - -Reshaping -^^^^^^^^^ - -- -- - -Sparse -^^^^^^ - -- -- - -ExtensionArray -^^^^^^^^^^^^^^ - -- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) -- - -Other -^^^^^ -- .. --------------------------------------------------------------------------- From 72159a2ff9ceebcf2c844e8608f548a3d0845dbb Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 3 Feb 2020 14:36:15 +0100 Subject: [PATCH 5/5] fix rst --- doc/source/whatsnew/v1.0.1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/whatsnew/v1.0.1.rst b/doc/source/whatsnew/v1.0.1.rst index 2d0b6c1a1e761..180411afb117d 100644 --- a/doc/source/whatsnew/v1.0.1.rst +++ b/doc/source/whatsnew/v1.0.1.rst @@ -46,7 +46,7 @@ Bug fixes - Fixed bug in :meth:`to_datetime` raising when ``cache=True`` and out-of-bound values are present (:issue:`31491`) -**Numeric* +**Numeric** - Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) and for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`)