I think this should be `tm.assert_index_equal(result_frame.columns, correct_frame.columns)`  also, is there a reason you aren't just testing that the resulting dataframe is correct? Is it too long?