Skip to content

Commit 4fed1e0

Browse files
committed
TST: windows 32-bit test comparisons fixed part 2
1 parent 92bc165 commit 4fed1e0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pandas/tools/tests/test_pivot.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,11 @@ def test_pivot_datetime_tz(self):
517517
exp_col3 = pd.DatetimeIndex(['2013-01-01 15:00:00', '2013-02-01 15:00:00'] * 4,
518518
tz='Asia/Tokyo', name='dt2')
519519
exp_col = MultiIndex.from_arrays([exp_col1, exp_col2, exp_col3])
520-
expected = DataFrame(np.array([[0, 3, 1, 2, 0, 3, 1, 2], [1, 4, 2, 1, 1, 4, 2, 1],
521-
[2, 5, 1, 2, 2, 5, 1, 2]]), index=exp_idx, columns=exp_col)
520+
expected = DataFrame(np.array([[0, 3, 1, 2, 0, 3, 1, 2],
521+
[1, 4, 2, 1, 1, 4, 2, 1],
522+
[2, 5, 1, 2, 2, 5, 1, 2]], dtype='int64'),
523+
index=exp_idx,
524+
columns=exp_col)
522525

523526
result = pivot_table(df, index=['dt1'], columns=['dt2'], values=['value1', 'value2'],
524527
aggfunc=[np.sum, np.mean])

0 commit comments

Comments
 (0)