1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
.. _whatsnew_232:
What's new in 2.3.2 (August 21, 2025)
-------------------------------------
These are the changes in pandas 2.3.2. See :ref:`release` for a full changelog
including other versions of pandas.
{{ header }}
.. ---------------------------------------------------------------------------
.. _whatsnew_232.string_fixes:
Improvements and fixes for the StringDtype
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Most changes in this release are related to :class:`StringDtype` which will
become the default string dtype in pandas 3.0. See
:ref:`whatsnew_230.upcoming_changes` for more details.
.. _whatsnew_232.string_fixes.bugs:
Bug fixes
^^^^^^^^^
- 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`)
- Boolean operations (``|``, ``&``, ``^``) with bool-dtype objects on the left and :class:`StringDtype` objects on the right now cast the string to bool, with a deprecation warning (:issue:`60234`)
- Fixed :meth:`~Series.str.match`, :meth:`~Series.str.fullmatch` and :meth:`~Series.str.contains`
string methods with compiled regex for the Arrow-backed string dtype (:issue:`61964`, :issue:`61942`)
- Bug in :meth:`Series.replace` and :meth:`DataFrame.replace` inconsistently
replacing matching values when missing values are present for string dtypes (:issue:`56599`)
.. ---------------------------------------------------------------------------
.. _whatsnew_232.contributors:
Contributors
~~~~~~~~~~~~
.. contributors:: v2.3.1..v2.3.2|HEAD
|