Skip to content

Commit 7370c1d

Browse files
makbigcvaibhavhrt
authored andcommitted
[TST] Fix test_quantile_interpolation_int (pandas-dev#26633)
1 parent dbdd556 commit 7370c1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/frame/test_quantile.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ def test_quantile_interpolation_int(self, int_frame):
160160
assert q['A'] == np.percentile(df['A'], 10)
161161

162162
# test with and without interpolation keyword
163-
# TODO: q1 is not different from q
164-
q1 = df.quantile(0.1)
163+
q1 = df.quantile(0.1, axis=0, interpolation='linear')
165164
assert q1['A'] == np.percentile(df['A'], 10)
166165
tm.assert_series_equal(q, q1)
167166

0 commit comments

Comments
 (0)