Skip to content

Commit 70212ff

Browse files
committed
Add more sphinx refs
1 parent a63b0fb commit 70212ff

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/source/whatsnew/v2.3.0.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Other enhancements
2424
- The semantics for the ``copy`` keyword in ``__array__`` methods (i.e. called
2525
when using ``np.array()`` or ``np.asarray()`` on pandas objects) has been
2626
updated to work correctly with NumPy >= 2 (:issue:`57739`)
27-
- :meth:`Series.str.decode` result now has ``StringDtype`` when ``future.infer_string`` is True (:issue:`60709`)
28-
- :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`)
2929
- Improved ``repr`` of :class:`.NumpyExtensionArray` to account for NEP51 (:issue:`61085`)
3030
- The :meth:`Series.str.decode` has gained the argument ``dtype`` to control the dtype of the result (:issue:`60940`)
31-
- The :meth:`~Series.cumsum`, :meth:`~Series.cummin`, and :meth:`~Series.cummax` reductions are now implemented for ``StringDtype`` columns (:issue:`60633`)
32-
- 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`)
3333

3434
.. ---------------------------------------------------------------------------
3535
.. _whatsnew_230.notable_bug_fixes:
@@ -44,7 +44,7 @@ These are bug fixes that might have notable behavior changes.
4444
Comparisons between different string dtypes
4545
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4646

47-
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
4848

4949
object < (python, NaN) < (pyarrow, NaN) < (python, NA) < (pyarrow, NA)
5050

@@ -59,9 +59,9 @@ in determining the result dtype when there are different string dtypes compared.
5959
API changes
6060
~~~~~~~~~~~
6161

62-
- When enabling the ``future.infer_string`` option, Index set operations (like
63-
union or intersection) will now ignore the dtype of an empty ``RangeIndex`` or
64-
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
6565
Index (:issue:`60797`)
6666

6767
.. ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)