File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ Datetimelike
440
440
Timedelta
441
441
^^^^^^^^^
442
442
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 `)
444
444
-
445
445
-
446
446
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ def test_df_sub_datetime64_not_ns(self):
219
219
np .timedelta64 (1 , 'D' )
220
220
])
221
221
def test_timestamp_df_add_timedelta (self , other ):
222
+ # GH 22005
222
223
expected = pd .DataFrame ([pd .Timestamp ('2018-01-02' )])
223
224
result = pd .DataFrame ([pd .Timestamp ('2018-01-01' )]) + other
224
225
tm .assert_frame_equal (result , expected )
You can’t perform that action at this time.
0 commit comments