From c1f21970da53186862fe19d33640f2e33db474b8 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 29 Sep 2025 10:30:36 +0200 Subject: [PATCH 1/2] DOC: prepare 2.3.3 whatsnew notes for release --- doc/source/whatsnew/v2.3.2.rst | 2 +- doc/source/whatsnew/v2.3.3.rst | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/source/whatsnew/v2.3.2.rst b/doc/source/whatsnew/v2.3.2.rst index dc1927087a66b..bf876e4d50559 100644 --- a/doc/source/whatsnew/v2.3.2.rst +++ b/doc/source/whatsnew/v2.3.2.rst @@ -39,4 +39,4 @@ Bug fixes Contributors ~~~~~~~~~~~~ -.. contributors:: v2.3.1..v2.3.2|HEAD +.. contributors:: v2.3.1..v2.3.2 diff --git a/doc/source/whatsnew/v2.3.3.rst b/doc/source/whatsnew/v2.3.3.rst index 0accd07eb366a..c6a0b2b5c2dc5 100644 --- a/doc/source/whatsnew/v2.3.3.rst +++ b/doc/source/whatsnew/v2.3.3.rst @@ -1,6 +1,6 @@ .. _whatsnew_233: -What's new in 2.3.3 (September XX, 2025) +What's new in 2.3.3 (September 29, 2025) ---------------------------------------- These are the changes in pandas 2.3.3. See :ref:`release` for a full changelog @@ -8,7 +8,7 @@ including other versions of pandas. {{ header }} -.. _whatsnew_220.py14_compat: +.. _whatsnew_233.py14_compat: Pandas 2.3.3 is now compatible with Python 3.14 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -71,3 +71,5 @@ Other changes Contributors ~~~~~~~~~~~~ + +.. contributors:: v2.3.1..v2.3.2|HEAD From b02ff270fe4a2c7340c7a0d909a3e01d6b54df44 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Mon, 29 Sep 2025 10:53:05 +0200 Subject: [PATCH 2/2] add some missing whatsnew items + cleanup --- doc/source/whatsnew/v2.3.2.rst | 2 -- doc/source/whatsnew/v2.3.3.rst | 25 +++++++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/doc/source/whatsnew/v2.3.2.rst b/doc/source/whatsnew/v2.3.2.rst index bf876e4d50559..b366c156b7f75 100644 --- a/doc/source/whatsnew/v2.3.2.rst +++ b/doc/source/whatsnew/v2.3.2.rst @@ -22,8 +22,6 @@ become the default string dtype in pandas 3.0. See Bug fixes ^^^^^^^^^ -- Fix :meth:`~Series.str.isdigit` to correctly recognize unicode superscript - characters as digits for :class:`StringDtype` backed by PyArrow (:issue:`61466`) - Fix :meth:`~DataFrame.to_json` with ``orient="table"`` to correctly use the "string" type in the JSON Table Schema for :class:`StringDtype` columns (:issue:`61889`) diff --git a/doc/source/whatsnew/v2.3.3.rst b/doc/source/whatsnew/v2.3.3.rst index c6a0b2b5c2dc5..93aa6faf4fcb5 100644 --- a/doc/source/whatsnew/v2.3.3.rst +++ b/doc/source/whatsnew/v2.3.3.rst @@ -37,25 +37,20 @@ Improvements specifying ``include=["object"]`` for backwards compatibility. In a future release, this will be deprecated and code for pandas 3+ should be updated to do ``include=["str"]`` (:issue:`61916`) - +- Support the ``/`` operation between a ``pathlib.Path`` object and a :class:`StringDtype` + Series, similarly as it works for object-dtype Series (:issue:`61940`) .. _whatsnew_233.string_fixes.bugs: Bug fixes ^^^^^^^^^ - Fix bug in :meth:`Series.str.replace` using named capture groups (e.g., ``\g``) with the Arrow-backed dtype would raise an error (:issue:`57636`) -- Fix regression in ``~Series.str.contains``, ``~Series.str.match`` and ``~Series.str.fullmatch`` +- Fix regression in :meth:`Series.str.contains`, :meth:`~Series.str.match` and :meth:`~Series.str.fullmatch` with a compiled regex and custom flags (:issue:`62240`) -- Fix :meth:`Series.str.match` and :meth:`Series.str.fullmatch` not matching patterns with groups correctly for the Arrow-backed string dtype (:issue:`61072`) - - -Improvements and fixes for Copy-on-Write -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Bug fixes -^^^^^^^^^ - -- The :meth:`DataFrame.iloc` now works correctly with ``copy_on_write`` option when assigning values after subsetting the columns of a homogeneous DataFrame (:issue:`60309`) +- Fix :meth:`Series.str.match` and :meth:`~Series.str.fullmatch` not matching patterns with groups correctly for the Arrow-backed string dtype (:issue:`61072`) +- Fix bug in :meth:`~DataFrame.groupby` with ``sum()`` and unobserved categories resulting in ``0`` instead of the empty string ``""`` (:issue:`61909`) +- Fix :meth:`Series.str.isdigit` to correctly recognize unicode superscript + characters as digits for :class:`StringDtype` backed by PyArrow (:issue:`61466`) Other changes ~~~~~~~~~~~~~ @@ -65,6 +60,12 @@ Other changes Resampling with a :class:`PeriodIndex` is supported again, but a subset of methods that return incorrect results will raise an error in pandas 3.0 (:issue:`57033`) +Other bug fixes +~~~~~~~~~~~~~~~~ + +- Fix memory leak in :meth:`DataFrame.to_json` with datetime columns (:issue:`62204`) +- Fixed regression in :meth:`DataFrame.from_records` not initializing subclasses properly (:issue:`57008`) +- The :meth:`DataFrame.iloc` now works correctly with ``copy_on_write`` option when assigning values after subsetting the columns of a homogeneous DataFrame (:issue:`60309`) .. --------------------------------------------------------------------------- .. _whatsnew_233.contributors: