Skip to content

Commit 1f6f42a

Browse files
authored
DOC: Set date for v2.3.0.rst whatsnew (#61560)
* DOC: Set date for v2.3.0.rst whatsnew * Add more sphinx refs * Copy edits * Add |HEAD
1 parent 5c286b7 commit 1f6f42a

File tree

1 file changed

+21
-117
lines changed

1 file changed

+21
-117
lines changed

doc/source/whatsnew/v2.3.0.rst

Lines changed: 21 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _whatsnew_230:
22

3-
What's new in 2.3.0 (Month XX, 2024)
3+
What's new in 2.3.0 (June 4, 2025)
44
------------------------------------
55

66
These are the changes in pandas 2.3.0. See :ref:`release` for a full changelog
@@ -10,23 +10,11 @@ including other versions of pandas.
1010

1111
.. ---------------------------------------------------------------------------
1212
13-
.. _whatsnew_230.upcoming_changes:
14-
15-
Upcoming changes in pandas 3.0
16-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17-
18-
1913
.. _whatsnew_230.enhancements:
2014

2115
Enhancements
2216
~~~~~~~~~~~~
2317

24-
.. _whatsnew_230.enhancements.enhancement1:
25-
26-
enhancement1
27-
^^^^^^^^^^^^
28-
29-
3018
.. _whatsnew_230.enhancements.other:
3119

3220
Other enhancements
@@ -36,12 +24,12 @@ Other enhancements
3624
- The semantics for the ``copy`` keyword in ``__array__`` methods (i.e. called
3725
when using ``np.array()`` or ``np.asarray()`` on pandas objects) has been
3826
updated to work correctly with NumPy >= 2 (:issue:`57739`)
39-
- :meth:`Series.str.decode` result now has ``StringDtype`` when ``future.infer_string`` is True (:issue:`60709`)
40-
- :meth:`~Series.to_hdf` and :meth:`~DataFrame.to_hdf` now round-trip with ``StringDtype`` (:issue:`60663`)
27+
- :meth:`Series.str.decode` result now has :class:`StringDtype` when ``future.infer_string`` is True (:issue:`60709`)
28+
- :meth:`~Series.to_hdf` and :meth:`~DataFrame.to_hdf` now round-trip with :class:`StringDtype` (:issue:`60663`)
4129
- Improved ``repr`` of :class:`.NumpyExtensionArray` to account for NEP51 (:issue:`61085`)
4230
- The :meth:`Series.str.decode` has gained the argument ``dtype`` to control the dtype of the result (:issue:`60940`)
43-
- The :meth:`~Series.cumsum`, :meth:`~Series.cummin`, and :meth:`~Series.cummax` reductions are now implemented for ``StringDtype`` columns (:issue:`60633`)
44-
- The :meth:`~Series.sum` reduction is now implemented for ``StringDtype`` columns (:issue:`59853`)
31+
- The :meth:`~Series.cumsum`, :meth:`~Series.cummin`, and :meth:`~Series.cummax` reductions are now implemented for :class:`StringDtype` columns (:issue:`60633`)
32+
- The :meth:`~Series.sum` reduction is now implemented for :class:`StringDtype` columns (:issue:`59853`)
4533

4634
.. ---------------------------------------------------------------------------
4735
.. _whatsnew_230.notable_bug_fixes:
@@ -56,7 +44,7 @@ These are bug fixes that might have notable behavior changes.
5644
Comparisons between different string dtypes
5745
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5846

59-
In previous versions, comparing Series of different string dtypes (e.g. ``pd.StringDtype("pyarrow", na_value=pd.NA)`` against ``pd.StringDtype("python", na_value=np.nan)``) would result in inconsistent resulting dtype or incorrectly raise. pandas will now use the hierarchy
47+
In previous versions, comparing :class:`Series` of different string dtypes (e.g. ``pd.StringDtype("pyarrow", na_value=pd.NA)`` against ``pd.StringDtype("python", na_value=np.nan)``) would result in inconsistent resulting dtype or incorrectly raise. pandas will now use the hierarchy
6048

6149
object < (python, NaN) < (pyarrow, NaN) < (python, NA) < (pyarrow, NA)
6250

@@ -71,9 +59,9 @@ in determining the result dtype when there are different string dtypes compared.
7159
API changes
7260
~~~~~~~~~~~
7361

74-
- When enabling the ``future.infer_string`` option: Index set operations (like
75-
union or intersection) will now ignore the dtype of an empty ``RangeIndex`` or
76-
empty ``Index`` with object dtype when determining the dtype of the resulting
62+
- When enabling the ``future.infer_string`` option, :class:`Index` set operations (like
63+
union or intersection) will now ignore the dtype of an empty :class:`RangeIndex` or
64+
empty :class:`Index` with ``object`` dtype when determining the dtype of the resulting
7765
Index (:issue:`60797`)
7866

7967
.. ---------------------------------------------------------------------------
@@ -84,121 +72,35 @@ Deprecations
8472
- Deprecated allowing non-``bool`` values for ``na`` in :meth:`.str.contains`, :meth:`.str.startswith`, and :meth:`.str.endswith` for dtypes that do not already disallow these (:issue:`59615`)
8573
- Deprecated the ``"pyarrow_numpy"`` storage option for :class:`StringDtype` (:issue:`60152`)
8674

87-
.. ---------------------------------------------------------------------------
88-
.. _whatsnew_230.performance:
89-
90-
Performance improvements
91-
~~~~~~~~~~~~~~~~~~~~~~~~
92-
-
93-
-
94-
9575
.. ---------------------------------------------------------------------------
9676
.. _whatsnew_230.bug_fixes:
9777

9878
Bug fixes
9979
~~~~~~~~~
10080

101-
Categorical
102-
^^^^^^^^^^^
103-
-
104-
-
105-
106-
Datetimelike
107-
^^^^^^^^^^^^
108-
-
109-
-
110-
111-
Timedelta
112-
^^^^^^^^^
113-
-
114-
-
115-
116-
Timezones
117-
^^^^^^^^^
118-
-
119-
-
120-
12181
Numeric
12282
^^^^^^^
123-
- Enabled :class:`Series.mode` and :class:`DataFrame.mode` with ``dropna=False`` to sort the result for all dtypes in the presence of NA values; previously only certain dtypes would sort (:issue:`60702`)
124-
- Bug in :meth:`Series.round` on object columns no longer raises ``TypeError``
125-
-
126-
127-
Conversion
128-
^^^^^^^^^^
129-
-
130-
-
83+
- Bug in :meth:`Series.mode` and :meth:`DataFrame.mode` with ``dropna=False`` where not all dtypes would sort in the presence of ``NA`` values (:issue:`60702`)
84+
- Bug in :meth:`Series.round` where a ``TypeError`` would always raise with ``object`` dtype (:issue:`61206`)
13185

13286
Strings
13387
^^^^^^^
134-
- Bug in :meth:`.DataFrameGroupBy.min`, :meth:`.DataFrameGroupBy.max`, :meth:`.Resampler.min`, :meth:`.Resampler.max` on string input of all NA values would return float dtype; now returns string (:issue:`60810`)
135-
- Bug in :meth:`DataFrame.sum` with ``axis=1``, :meth:`.DataFrameGroupBy.sum` or :meth:`.SeriesGroupBy.sum` with ``skipna=True``, and :meth:`.Resampler.sum` on :class:`StringDtype` with all NA values resulted in ``0`` and is now the empty string ``""`` (:issue:`60229`)
136-
- Bug in :meth:`Series.__pos__` and :meth:`DataFrame.__pos__` did not raise for :class:`StringDtype` with ``storage="pyarrow"`` (:issue:`60710`)
137-
- Bug in :meth:`Series.rank` for :class:`StringDtype` with ``storage="pyarrow"`` incorrectly returning integer results in case of ``method="average"`` and raising an error if it would truncate results (:issue:`59768`)
88+
- Bug in :meth:`.DataFrameGroupBy.min`, :meth:`.DataFrameGroupBy.max`, :meth:`.Resampler.min`, :meth:`.Resampler.max` where all NA values of string dtype would return float instead of string dtype (:issue:`60810`)
89+
- Bug in :meth:`DataFrame.sum` with ``axis=1``, :meth:`.DataFrameGroupBy.sum` or :meth:`.SeriesGroupBy.sum` with ``skipna=True``, and :meth:`.Resampler.sum` with all NA values of :class:`StringDtype` resulted in ``0`` instead of the empty string ``""`` (:issue:`60229`)
90+
- Bug in :meth:`Series.__pos__` and :meth:`DataFrame.__pos__` where an ``Exception`` was not raised for :class:`StringDtype` with ``storage="pyarrow"`` (:issue:`60710`)
91+
- Bug in :meth:`Series.rank` for :class:`StringDtype` with ``storage="pyarrow"`` that incorrectly returned integer results with ``method="average"`` and raised an error if it would truncate results (:issue:`59768`)
13892
- Bug in :meth:`Series.replace` with :class:`StringDtype` when replacing with a non-string value was not upcasting to ``object`` dtype (:issue:`60282`)
93+
- Bug in :meth:`Series.str.center` with :class:`StringDtype` with ``storage="pyarrow"`` not matching the python behavior in corner cases with an odd number of fill characters (:issue:`54792`)
13994
- Bug in :meth:`Series.str.replace` when ``n < 0`` for :class:`StringDtype` with ``storage="pyarrow"`` (:issue:`59628`)
140-
- Bug in ``ser.str.slice`` with negative ``step`` with :class:`ArrowDtype` and :class:`StringDtype` with ``storage="pyarrow"`` giving incorrect results (:issue:`59710`)
141-
- Bug in the ``center`` method on :class:`Series` and :class:`Index` object ``str`` accessors with pyarrow-backed dtype not matching the python behavior in corner cases with an odd number of fill characters (:issue:`54792`)
142-
143-
Interval
144-
^^^^^^^^
145-
-
146-
-
95+
- Bug in :meth:`Series.str.slice` with negative ``step`` with :class:`ArrowDtype` and :class:`StringDtype` with ``storage="pyarrow"`` giving incorrect results (:issue:`59710`)
14796

14897
Indexing
14998
^^^^^^^^
150-
- Fixed bug in :meth:`Index.get_indexer` round-tripping through string dtype when ``infer_string`` is enabled (:issue:`55834`)
151-
-
152-
153-
Missing
154-
^^^^^^^
155-
-
156-
-
157-
158-
MultiIndex
159-
^^^^^^^^^^
160-
-
161-
-
99+
- Bug in :meth:`Index.get_indexer` round-tripping through string dtype when ``infer_string`` is enabled (:issue:`55834`)
162100

163101
I/O
164102
^^^
165-
- :meth:`DataFrame.to_excel` was storing decimals as strings instead of numbers (:issue:`49598`)
166-
-
167-
168-
Period
169-
^^^^^^
170-
-
171-
-
172-
173-
Plotting
174-
^^^^^^^^
175-
-
176-
-
177-
178-
Groupby/resample/rolling
179-
^^^^^^^^^^^^^^^^^^^^^^^^
180-
-
181-
-
182-
183-
Reshaping
184-
^^^^^^^^^
185-
-
186-
-
187-
188-
Sparse
189-
^^^^^^
190-
-
191-
-
192-
193-
ExtensionArray
194-
^^^^^^^^^^^^^^
195-
-
196-
-
197-
198-
Styler
199-
^^^^^^
200-
-
201-
-
103+
- Bug in :meth:`DataFrame.to_excel` which stored decimals as strings instead of numbers (:issue:`49598`)
202104

203105
Other
204106
^^^^^
@@ -210,3 +112,5 @@ Other
210112

211113
Contributors
212114
~~~~~~~~~~~~
115+
116+
.. contributors:: v2.2.3..v2.3.0|HEAD

0 commit comments

Comments
 (0)