We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602883a commit c3ab8b1Copy full SHA for c3ab8b1
pandas/tests/frame/test_quantile.py
@@ -112,7 +112,7 @@ def test_quantile_interpolation(self):
112
# cross-check interpolation=nearest results in original dtype
113
exp = np.percentile(np.array([[1, 2, 3], [2, 3, 4]]), .5,
114
axis=0, interpolation='nearest')
115
- expected = Series(exp, index=[1, 2, 3])
+ expected = Series(exp, index=[1, 2, 3], dtype='int64')
116
assert_series_equal(result, expected)
117
118
# float
@@ -122,7 +122,7 @@ def test_quantile_interpolation(self):
122
123
exp = np.percentile(np.array([[1., 2., 3.], [2., 3., 4.]]), .5,
124
125
+ expected = Series(exp, index=[1, 2, 3], dtype='float64')
126
127
128
# axis
0 commit comments