can you change this to construct the DataFrame you believe it should be and then use `tm.assert_frame_equal` which will check index and columns too. and also tell it to check more things.

```python
check = lambda result, expected: tm.assert_frame_equal(result, expected,
                       check_dtype=True,
                       check_index_type=True,
                       check_column_type=True,
                       check_names=True)
```