Skip to content

Commit 1000834

Browse files
committed
GH refs
1 parent 2147e6f commit 1000834

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ Other enhancements
9090
- Added support to read and write from and to Apache Iceberg tables with the new :func:`read_iceberg` and :meth:`DataFrame.to_iceberg` functions (:issue:`61383`)
9191
- Errors occurring during SQL I/O will now throw a generic :class:`.DatabaseError` instead of the raw Exception type from the underlying driver manager library (:issue:`60748`)
9292
- Implemented :meth:`Series.str.isascii` and :meth:`Series.str.isascii` (:issue:`59091`)
93+
- Improve the resulting dtypes in :meth:`DataFrame.where` and :meth:`DataFrame.mask` with :class:`ExtensionDtype` ``other`` (:issue:`62038`)
9394
- Improved deprecation message for offset aliases (:issue:`60820`)
9495
- Multiplying two :class:`DateOffset` objects will now raise a ``TypeError`` instead of a ``RecursionError`` (:issue:`59442`)
9596
- Restore support for reading Stata 104-format and enable reading 103-format dta files (:issue:`58554`)
9697
- Support passing a :class:`Iterable[Hashable]` input to :meth:`DataFrame.drop_duplicates` (:issue:`59237`)
9798
- Support reading Stata 102-format (Stata 1) dta files (:issue:`58978`)
9899
- Support reading Stata 110-format (Stata 7) dta files (:issue:`47176`)
99-
- Improve the resulting dtypes in :meth:`DataFrame.where` and :meth:`DataFrame.mask` with :class:`ExtensionDtype` ``other`` (:issue:`??`)
100100
.. ---------------------------------------------------------------------------
101101
.. _whatsnew_300.notable_bug_fixes:
102102

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9798,7 +9798,7 @@ def _where(
97989798

97999799
other = np.broadcast_to(other, self.shape)
98009800
else:
9801-
# GH#38729 avoid lossy casting or object-casting
9801+
# GH#38729, GH#62038 avoid lossy casting or object-casting
98029802
if axis == 0:
98039803
res_cols = [
98049804
self.iloc[:, i]._where(

pandas/tests/frame/indexing/test_where.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def test_where_categorical_filtering(self):
698698
tm.assert_equal(result, expected)
699699

700700
def test_where_ea_other(self):
701-
# GH#38729/GH#38742
701+
# GH#38729/GH#38742, GH#62038
702702
df = DataFrame({"A": [1, 2, 3], "B": [4, 5, 6]})
703703
arr = pd.array([7, pd.NA, 9])
704704
ser = Series(arr)

0 commit comments

Comments
 (0)