From fb677c87e22e984c14380bfc515e30c1443366bd Mon Sep 17 00:00:00 2001 From: Sinhrks Date: Fri, 3 Jul 2015 12:35:39 +0900 Subject: [PATCH] TST: DataFrame.quantile should have Float64Index --- pandas/tests/test_frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index 8c9233c1d687b..8c4efcc35d67f 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -12161,8 +12161,8 @@ def test_quantile(self): result = df.quantile([.5, .75], axis=1) expected = DataFrame({1: [1.5, 1.75], 2: [2.5, 2.75], - 3: [3.5, 3.75]}, index=["0.5", "0.75"]) - assert_frame_equal(result, expected) + 3: [3.5, 3.75]}, index=[0.5, 0.75]) + assert_frame_equal(result, expected, check_index_type=True) # We may want to break API in the future to change this # so that we exclude non-numeric along the same axis