I tried all the solutions here: Pandas "Can only compare identically-labeled DataFrame objects" error
Didn\'t work for me. Here\'s what I\'ve got. I hav
If you want to compare 2 Data Frames. Check-out flexible comparison in Pandas, using the methods like .eq(), .nq(), gt() and more... --> equal, not equal and greater then.
Example:
df['new_col'] = df.gt(df_1)
http://pandas.pydata.org/pandas-docs/stable/basics.html#flexible-comparisons