doc/source/whatsnew/v2.3.2.rst
.. _whatsnew_232:
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 ``~Series.str.match``, ``~Series.str.fullmatch`` and ``~Series.str.contains``
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