File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1233,17 +1233,17 @@ def test_sum_timedelta64_skipna_false():
1233
1233
arr = np .arange (8 ).astype (np .int64 ).view ("m8[s]" ).reshape (4 , 2 )
1234
1234
arr [- 1 , - 1 ] = "Nat"
1235
1235
1236
- df = pd . DataFrame (arr )
1236
+ df = DataFrame (arr )
1237
1237
1238
1238
result = df .sum (skipna = False )
1239
- expected = pd . Series ([pd .Timedelta (seconds = 12 ), pd .NaT ])
1239
+ expected = Series ([pd .Timedelta (seconds = 12 ), pd .NaT ])
1240
1240
tm .assert_series_equal (result , expected )
1241
1241
1242
1242
result = df .sum (axis = 0 , skipna = False )
1243
1243
tm .assert_series_equal (result , expected )
1244
1244
1245
1245
result = df .sum (axis = 1 , skipna = False )
1246
- expected = pd . Series (
1246
+ expected = Series (
1247
1247
[
1248
1248
pd .Timedelta (seconds = 1 ),
1249
1249
pd .Timedelta (seconds = 5 ),
You can’t perform that action at this time.
0 commit comments