File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11629,7 +11629,7 @@ def test_apply_mixed_dtype_corner(self):
1162911629 result = df[:0].apply(np.mean, axis=1)
1163011630 # the result here is actually kind of ambiguous, should it be a Series
1163111631 # or a DataFrame?
11632- expected = Series(np.nan, index=pd.Index([], dtype=int ))
11632+ expected = Series(np.nan, index=pd.Index([], dtype='int64' ))
1163311633 assert_series_equal(result, expected)
1163411634
1163511635 df = DataFrame({'A': ['foo'],
@@ -15458,7 +15458,8 @@ def test_to_csv_with_dst_transitions(self):
1545815458 ambiguous='infer')
1545915459
1546015460 for i in [times, times+pd.Timedelta('10s')]:
15461- df = DataFrame({'A' : range(len(i))}, index=i)
15461+ time_range = np.array(range(len(i)), dtype='int64')
15462+ df = DataFrame({'A' : time_range}, index=i)
1546215463 df.to_csv(path,index=True)
1546315464
1546415465 # we have to reconvert the index as we
You can’t perform that action at this time.
0 commit comments