Skip to content

Commit 9f37929

Browse files
committed
GH ref
1 parent 9d8920e commit 9f37929

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ ExtensionArray
667667
^^^^^^^^^^^^^^
668668
- Bug in :meth:`.arrays.ArrowExtensionArray.__setitem__` which caused wrong behavior when using an integer array with repeated values as a key (:issue:`58530`)
669669
- Bug in :meth:`api.types.is_datetime64_any_dtype` where a custom :class:`ExtensionDtype` would return ``False`` for array-likes (:issue:`57055`)
670+
- Bug in comparison between object with :class:`ArrowDtype` and incompatible-dtyped (e.g. string vs bool) incorrectly raising instead of returning all-``False`` (for ``==``) or all-``True`` (for ``!=``) (:issue:`59505`)
670671
- Bug in various :class:`DataFrame` reductions for pyarrow temporal dtypes returning incorrect dtype when result was null (:issue:`59234`)
671-
- Bug in comparison between object with :class:`ArrowDtype` and incompatible-dtyped (e.g. string vs bool) incorrectly raising instead of returning all-``False`` (for ``==``) or all-``True`` (for ``!=``) (:issue:`??`)
672672

673673
Styler
674674
^^^^^^

pandas/tests/series/test_logical_ops.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ def test_pyarrow_numpy_string_invalid(self):
541541
with pytest.raises(TypeError, match="Invalid comparison"):
542542
ser > ser2
543543

544+
# GH#59505
544545
ser3 = ser2.astype("string[pyarrow]")
545546
result3_eq = ser3 == ser
546547
tm.assert_series_equal(result3_eq, expected_eq.astype("bool[pyarrow]"))

0 commit comments

Comments
 (0)