What’s new in 2.3.1 (July 7, 2025)
These are the changes in pandas 2.3.1. See Release notes for a full changelog including other versions of pandas.
Improvements and fixes for the StringDtype
Most changes in this release are related to StringDtype which will
become the default string dtype in pandas 3.0. See
Upcoming changes in pandas 3.0 for more details.
Comparisons between different string dtypes
In previous versions, comparing of different string dtypes (e.g. against ) would result in inconsistent resulting dtype or incorrectly raise (). pandas will now use the hierarchy