Skip to content

Commit 608a43d

Browse files
author
nli307
committed
lint
1 parent ac77415 commit 608a43d

File tree

2 files changed

+3
-3
lines changed

2 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
@@ -1108,13 +1108,13 @@ Numeric
11081108

11091109
Conversion
11101110
^^^^^^^^^^
1111+
- Bug in :meth:`ArrowDtype._get_common_dtype` and :meth:`ExtentionDtype._get_common_dtype` when using ``date32[pyarrow]`` and ``date64[pyarrow]`` types (:issue:`62343`)
11111112
- Bug in :meth:`DataFrame.astype` not casting ``values`` for Arrow-based dictionary dtype correctly (:issue:`58479`)
11121113
- Bug in :meth:`DataFrame.update` bool dtype being converted to object (:issue:`55509`)
11131114
- Bug in :meth:`Series.astype` might modify read-only array inplace when casting to a string dtype (:issue:`57212`)
11141115
- Bug in :meth:`Series.convert_dtypes` and :meth:`DataFrame.convert_dtypes` removing timezone information for objects with :class:`ArrowDtype` (:issue:`60237`)
11151116
- Bug in :meth:`Series.reindex` not maintaining ``float32`` type when a ``reindex`` introduces a missing value (:issue:`45857`)
11161117
- Bug in :meth:`to_datetime` and :meth:`to_timedelta` with input ``None`` returning ``None`` instead of ``NaT``, inconsistent with other conversion methods (:issue:`23055`)
1117-
- Bug in :meth:`ArrowDtype._get_common_dtype` and :meth:`ExtentionDtype._get_common_dtype` when using ``date32[pyarrow]`` and ``date64[pyarrow]`` types (:issue:`62343`)
11181118

11191119
Strings
11201120
^^^^^^^

pandas/tests/dtypes/cast/test_find_common_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def test_pyarrow_date_dtypes(dtypes, expected):
204204
@pytest.mark.xfail(reason="""
205205
Finding common pyarrow dtypes relies on conversion
206206
to numpy dtypes and then back to pyarrow dtypes.
207-
207+
208208
We have:
209209
>>> pa.from_numpy_dtype(np.dtype('datetime64[D]'))
210210
DataType(date32[day])
@@ -238,4 +238,4 @@ def test_pyarrow_date_dtypes(dtypes, expected):
238238
def test_pyarrow_date64_dtype(dtypes, expected):
239239
source_dtypes = [pandas_dtype(dtype) for dtype in dtypes]
240240
result = find_common_type(source_dtypes)
241-
assert result == pandas_dtype(expected)
241+
assert result == pandas_dtype(expected)

0 commit comments

Comments
 (0)