QST: assert_frame_equal with disabled column type check fails unexpectedly
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.

- [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).

---

#### Question about pandas

I have two dataframes with different column types that I want to compare. I thought the pd.testing.assert_frame_equal function with check_column_type would be the best solution:

    import pandas as pd
    df1 = pd.DataFrame({"1": [1, 2 ,3],  "2": [1, 5, 9]})
    df2 = pd.DataFrame({1: [1, 2 ,3],  2: [1, 5, 9]})
    pd.testing.assert_frame_equal(df1, df2, check_column_type=False)

But I get:

    DataFrame.columns classes are not equivalent
    [left]:  Index(['1', '2'], dtype='object')
    [right]: Int64Index([1, 2], dtype='int64')

Am I missing anything?

