I want to know how the value looks in df1, and how the value looks in df2, when the two dfs fail equality tests.
This is the most specific output I could get:
# more specific cell by cell test Assertion_df = Output_Test_Cases_df.merge(Correct_Test_Cases_df).eq(Output_Test_Cases_df) print(Assertion_df.iloc[:, [1, 2, 3]]) DBN AI Code Active AI 0 True True True 1 False True True 2 True True True 3 True True True 4 True False True 5 True True True 6 True True True 7 True True True However, I would like something like
DBN AI Code Active AI 0 True True True 1 12X000 in df1, 12X111 in df 2 True True 2 True True True 3 True True True 4 True 100 in df1, 200 in df2 True 5 True True True 6 True True True 7 True True True Anything functionally equivalent to the above would be appreciated.