Skip to content

Commit 057a8f3

Browse files
committed
add GH num to xfer
1 parent 1d1b18d commit 057a8f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.24.0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Datetimelike
440440
Timedelta
441441
^^^^^^^^^
442442

443-
- Bug in :class:`DataFrame` with ``dtype='datetime64[ns]'`` when adding :class:`Timedelta` (:issue:`22007`)
443+
- Bug in :class:`DataFrame` with ``dtype='datetime64[ns]'`` when adding :class:`Timedelta` (:issue:`22005`)
444444
-
445445
-
446446

pandas/tests/frame/test_arithmetic.py

+1
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def test_df_sub_datetime64_not_ns(self):
219219
np.timedelta64(1, 'D')
220220
])
221221
def test_timestamp_df_add_timedelta(self, other):
222+
# GH 22005
222223
expected = pd.DataFrame([pd.Timestamp('2018-01-02')])
223224
result = pd.DataFrame([pd.Timestamp('2018-01-01')]) + other
224225
tm.assert_frame_equal(result, expected)

0 commit comments

Comments
 (0)