|
1 | 1 | .. _whatsnew_233:
|
2 | 2 |
|
3 |
| -What's new in 2.3.3 (September XX, 2025) |
| 3 | +What's new in 2.3.3 (September 29, 2025) |
4 | 4 | ----------------------------------------
|
5 | 5 |
|
6 | 6 | These are the changes in pandas 2.3.3. See :ref:`release` for a full changelog
|
7 | 7 | including other versions of pandas.
|
8 | 8 |
|
9 | 9 | {{ header }}
|
10 | 10 |
|
11 |
| -.. _whatsnew_220.py14_compat: |
| 11 | +.. _whatsnew_233.py14_compat: |
12 | 12 |
|
13 | 13 | Pandas 2.3.3 is now compatible with Python 3.14
|
14 | 14 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
@@ -37,29 +37,42 @@ Improvements
|
37 | 37 | specifying ``include=["object"]`` for backwards compatibility. In a future
|
38 | 38 | release, this will be deprecated and code for pandas 3+ should be updated to
|
39 | 39 | do ``include=["str"]`` (:issue:`61916`)
|
40 |
| - |
| 40 | +- Support the ``/`` operation between a ``pathlib.Path`` object and a :class:`StringDtype` |
| 41 | + Series, similarly as it works for object-dtype Series (:issue:`61940`) |
41 | 42 |
|
42 | 43 | .. _whatsnew_233.string_fixes.bugs:
|
43 | 44 |
|
44 | 45 | Bug fixes
|
45 | 46 | ^^^^^^^^^
|
46 | 47 | - Fix bug in :meth:`Series.str.replace` using named capture groups (e.g., ``\g<name>``) with the Arrow-backed dtype would raise an error (:issue:`57636`)
|
47 |
| -- Fix regression in ``~Series.str.contains``, ``~Series.str.match`` and ``~Series.str.fullmatch`` |
| 48 | +- Fix regression in :meth:`Series.str.contains`, :meth:`~Series.str.match` and :meth:`~Series.str.fullmatch` |
48 | 49 | with a compiled regex and custom flags (:issue:`62240`)
|
49 |
| -- Fix :meth:`Series.str.match` and :meth:`Series.str.fullmatch` not matching patterns with groups correctly for the Arrow-backed string dtype (:issue:`61072`) |
50 |
| - |
51 |
| - |
52 |
| -Improvements and fixes for Copy-on-Write |
53 |
| -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
54 |
| - |
55 |
| -Bug fixes |
56 |
| -^^^^^^^^^ |
57 |
| - |
| 50 | +- Fix :meth:`Series.str.match` and :meth:`~Series.str.fullmatch` not matching patterns with groups correctly for the Arrow-backed string dtype (:issue:`61072`) |
| 51 | +- Fix bug in :meth:`~DataFrame.groupby` with ``sum()`` and unobserved categories resulting in ``0`` instead of the empty string ``""`` (:issue:`61909`) |
| 52 | +- Fix :meth:`Series.str.isdigit` to correctly recognize unicode superscript |
| 53 | + characters as digits for :class:`StringDtype` backed by PyArrow (:issue:`61466`) |
| 54 | +- Fix comparing a :class:`StringDtype` Series with mixed objects raising an error (:issue:`60228`) |
| 55 | +- Fix error being raised when using a numpy ufunc with a Python-backed string array (:issue:`40800`) |
| 56 | + |
| 57 | +Other changes |
| 58 | +~~~~~~~~~~~~~ |
| 59 | + |
| 60 | +- The deprecation of using :meth:`Series.resample` and :meth:`DataFrame.resample` |
| 61 | + with a :class:`PeriodIndex` (and the 'convention' keyword) has been undone. |
| 62 | + Resampling with a :class:`PeriodIndex` is supported again, but a subset of |
| 63 | + methods that return incorrect results will raise an error in pandas 3.0 (:issue:`57033`) |
| 64 | + |
| 65 | +Other bug fixes |
| 66 | +~~~~~~~~~~~~~~~~ |
| 67 | + |
| 68 | +- Fix memory leak in :meth:`DataFrame.to_json` with datetime columns (:issue:`62204`) |
| 69 | +- Fixed regression in :meth:`DataFrame.from_records` not initializing subclasses properly (:issue:`57008`) |
58 | 70 | - 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`)
|
59 | 71 |
|
60 |
| - |
61 | 72 | .. ---------------------------------------------------------------------------
|
62 | 73 | .. _whatsnew_233.contributors:
|
63 | 74 |
|
64 | 75 | Contributors
|
65 | 76 | ~~~~~~~~~~~~
|
| 77 | + |
| 78 | +.. contributors:: v2.3.2..v2.3.3|HEAD |
0 commit comments