Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pandas/tests/test_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -11629,7 +11629,7 @@ def test_apply_mixed_dtype_corner(self):
result = df[:0].apply(np.mean, axis=1)
# the result here is actually kind of ambiguous, should it be a Series
# or a DataFrame?
expected = Series(np.nan, index=pd.Index([], dtype=int))
expected = Series(np.nan, index=pd.Index([], dtype='int64'))
assert_series_equal(result, expected)

df = DataFrame({'A': ['foo'],
Expand Down Expand Up @@ -15458,7 +15458,8 @@ def test_to_csv_with_dst_transitions(self):
ambiguous='infer')

for i in [times, times+pd.Timedelta('10s')]:
df = DataFrame({'A' : range(len(i))}, index=i)
time_range = np.array(range(len(i)), dtype='int64')
df = DataFrame({'A' : time_range}, index=i)
df.to_csv(path,index=True)

# we have to reconvert the index as we
Expand Down