Skip to content

Commit 73f5660

Browse files
add whatsnew note
1 parent 1542a6c commit 73f5660

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

doc/source/whatsnew/v2.3.0.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ These are bug fixes that might have notable behavior changes.
5353
notable_bug_fix1
5454
^^^^^^^^^^^^^^^^
5555

56+
.. _whatsnew_230.api_changes:
57+
58+
API changes
59+
~~~~~~~~~~~
60+
61+
- When enabling the ``future.infer_string`` option: Index set operations (like
62+
union or intersection) will now ignore the dtype of an empty ``RangeIndex`` or
63+
empty ``Index`` with object dtype when determining the dtype of the resulting
64+
Index (:issue:`60797`)
65+
5666
.. ---------------------------------------------------------------------------
5767
.. _whatsnew_230.deprecations:
5868

doc/source/whatsnew/v3.0.0.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ Other API changes
361361
- pickle and HDF (``.h5``) files created with Python 2 are no longer explicitly supported (:issue:`57387`)
362362
- pickled objects from pandas version less than ``1.0.0`` are no longer supported (:issue:`57155`)
363363
- when comparing the indexes in :func:`testing.assert_series_equal`, check_exact defaults to True if an :class:`Index` is of integer dtypes. (:issue:`57386`)
364+
- Index set operations (like union or intersection) will now ignore the dtype of
365+
an empty ``RangeIndex`` or empty ``Index`` with object dtype when determining
366+
the dtype of the resulting Index (:issue:`60797`)
364367

365368
.. ---------------------------------------------------------------------------
366369
.. _whatsnew_300.deprecations:

0 commit comments

Comments
 (0)