|
1 | 1 | .. _whatsnew_306: |
2 | 2 |
|
3 | | -What's new in 3.0.6 (September XX, 2026) |
| 3 | +What's new in 3.0.6 (September 17, 2026) |
4 | 4 | ---------------------------------------- |
5 | 5 |
|
6 | 6 | These are the changes in pandas 3.0.6. See :ref:`release` for a full changelog |
7 | 7 | including other versions of pandas. |
8 | 8 |
|
9 | 9 | {{ header }} |
10 | 10 |
|
| 11 | +.. _whatsnew_306.py15_compat: |
| 12 | + |
| 13 | +Pandas 3.0.6 is now compatible with Python 3.15 |
| 14 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 | + |
| 16 | +Pandas 3.0.6 is the first version of pandas that is generally compatible with the upcoming |
| 17 | +Python 3.15, and binary wheels will be available on PyPI for all supported platforms. |
| 18 | + |
11 | 19 | .. --------------------------------------------------------------------------- |
12 | 20 | .. _whatsnew_306.regressions: |
13 | 21 |
|
14 | 22 | Fixed regressions |
15 | 23 | ~~~~~~~~~~~~~~~~~ |
16 | 24 |
|
17 | | -- Bug in :meth:`DataFrame.plot.bar` and :meth:`DataFrame.plot.barh` raising ``AttributeError`` for a regularly-spaced :class:`DatetimeIndex` whose ``freq`` attribute is unset (:issue:`66771`) |
18 | | -- Bug in :meth:`Series.str.split`, :meth:`Series.str.rsplit`, :meth:`Series.str.partition`, and :meth:`Series.str.rpartition` on :class:`CategoricalDtype` Series with ``expand=False`` returning stringified lists/tuples instead of actual lists/tuples (:issue:`66341`) |
19 | | -- Bug in :meth:`Timestamp.tz_convert` and :meth:`Timestamp.tz_localize` and their :class:`Index` and :class:`Series` counterparts returning a UTC offset a few minutes off for dates before the specified timezone adopted a standard time (typically early 20th century); this only affected older systems whose ``tzdata`` was compiled with a toolchain from between 2013 and 2018, such as Amazon Linux 2 and RHEL 8 and its derivatives (:issue:`67066`) |
20 | | -- Bug in full-slice assignment (``arr[:] = value``) into a PyArrow-backed array where the result shared memory with ``value``, so later modifying ``value`` also changed the assigned-to object (:issue:`67990`) |
21 | | -- Fixed bug in :func:`read_csv` with the ``c`` engine and ``low_memory=True`` where a mixed-dtype column selected by ``usecols`` raised ``IndexError`` instead of emitting a :class:`DtypeWarning` unless it was the first column in the file, and where that warning named the wrong column when the file had an index column (:issue:`67375`) |
22 | | -- Fixed bug in :func:`read_csv` with the ``c`` engine and ``low_memory=True`` where the number reported next to each column name in the mixed-type :class:`DtypeWarning` was a running count of the warned columns rather than the column's position in the file (:issue:`67375`) |
| 25 | +- Fixed a regression in :func:`read_csv` where a mixed-dtype column selected by ``usecols`` raised ``IndexError`` instead of emitting a ``DtypeWarning``, and where that warning named the wrong column or the wrong index (:issue:`67375`) |
| 26 | +- Fixed a regression in :meth:`DataFrame.plot.bar` and :meth:`DataFrame.plot.barh` raising ``AttributeError`` for a regularly-spaced :class:`DatetimeIndex` whose ``freq`` attribute is unset (:issue:`66771`) |
| 27 | +- Fixed a regression in :meth:`Series.str.split`, :meth:`Series.str.rsplit`, :meth:`Series.str.partition`, and :meth:`Series.str.rpartition` on :class:`CategoricalDtype` Series with ``expand=False`` returning stringified lists/tuples instead of actual lists/tuples (:issue:`66341`) |
| 28 | +- Fixed a regression in :meth:`Timestamp.tz_convert` and :meth:`Timestamp.tz_localize` and their :class:`Index` and :class:`Series` counterparts returning a UTC offset a few minutes off for dates before the specified timezone adopted a standard time (typically early 20th century); this only affected older systems whose ``tzdata`` was compiled with a toolchain from between 2013 and 2018, such as Amazon Linux 2 and RHEL 8 and its derivatives (:issue:`67066`) |
| 29 | +- Fixed a regression in full-slice assignment (``df.loc[:, "col"] = value``) into a PyArrow-backed array where the result shared memory with ``value``, so later modifying ``value`` also changed the assigned-to object, violating Copy-on-Write semantics (:issue:`67990`) |
23 | 30 | - Fixed a bug in setting with ``.loc`` or ``.iloc`` using a boolean mask to |
24 | 31 | select the columns into a 1-column DataFrame with an extension dtype, which |
25 | 32 | surfaced as a regression for a DataFrame with string data (:issue:`66527`, |
26 | 33 | :issue:`66255`) |
27 | | -- Regression in :meth:`Series.interpolate` with ``method="linear"`` and a pyarrow-backed dtype leaving consecutive and trailing missing values unfilled, and truncating interpolated values for integer dtypes; the result now matches the equivalent masked (e.g. ``Int64``) dtype, including the upcast to ``float64[pyarrow]`` (:issue:`65345`) |
| 34 | +- Fixed a regression in :meth:`Series.interpolate` with ``method="linear"`` and a pyarrow-backed dtype leaving consecutive and trailing missing values unfilled, and truncating interpolated values for integer dtypes; the result now matches the equivalent masked (e.g. ``Int64``) dtype (:issue:`65345`) |
28 | 35 |
|
29 | 36 | .. --------------------------------------------------------------------------- |
30 | 37 | .. _whatsnew_306.bug_fixes: |
31 | 38 |
|
32 | 39 | Bug fixes |
33 | 40 | ~~~~~~~~~ |
34 | | -- Bug in :class:`RangeIndex` where missing Copy-on-Write reference tracking allowed external modification via a :class:`Series` to silently corrupt the index (:issue:`67060`) |
35 | | -- Fixed memory leak in :func:`read_csv` with ``engine="c"`` when a string or ``category`` column failed to decode, for example invalid UTF-8 under ``encoding="utf-8"`` and the default ``encoding_errors="strict"`` (:issue:`67931`) |
36 | | - |
37 | 41 |
|
| 42 | +- Fixed a bug in :class:`RangeIndex` where missing Copy-on-Write reference tracking allowed external modification via a :class:`Series` to silently corrupt the index (:issue:`67060`) |
| 43 | +- Fixed memory leak in :func:`read_csv` with ``engine="c"`` when a string or ``category`` column failed to decode, for example invalid UTF-8 under ``encoding="utf-8"`` and the default ``encoding_errors="strict"`` (:issue:`67931`) |
38 | 44 |
|
39 | 45 | .. --------------------------------------------------------------------------- |
40 | 46 | .. _whatsnew_306.contributors: |
|
0 commit comments