What’s new in 2.3.3 (September XX, 2025)#
These are the changes in pandas 2.3.3. See Release notes for a full changelog including other versions of pandas.
Pandas 2.3.3 is now compatible with Python 3.14#
Pandas 2.3.3 is the first version of pandas that is generally compatible with the upcoming Python 3.14, and both wheels for free-threaded and normal Python 3.14 will be uploaded for this release.
As usual please report any bugs discovered to our issue tracker
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.
Improvements#
Update
DataFrame.select_dtypes()
to keep selectingstr
columns when specifyinginclude=["object"]
for backwards compatibility. In a future release, this will be deprecated and code for pandas 3+ should be updated to doinclude=["str"]
(GH 61916)
Bug fixes#
Fix bug in
Series.str.replace()
using named capture groups (e.g.,\g<name>
) with the Arrow-backed dtype would raise an error (GH 57636)Fix regression in
~Series.str.contains
,~Series.str.match
and~Series.str.fullmatch
with a compiled regex and custom flags (GH 62240)Fix
Series.str.match()
andSeries.str.fullmatch()
not matching patterns with groups correctly for the Arrow-backed string dtype (GH 61072)
Improvements and fixes for Copy-on-Write#
Bug fixes#
The
DataFrame.iloc()
now works correctly withcopy_on_write
option when assigning values after subsetting the columns of a homogeneous DataFrame (GH 60309)