AttributeError: 'DataFrame' object has no attribute 'dtype'

Hello,

Actually, I am doing the same thing. I want to merge two data frames and assign it to a output_table.

I tried doing

df_new = pd.concat([output_table, df], axis=1)
output_table = df_new

still the same issue. Kindly suggest the workaround.