I need to compare 3 csv files to compare against 3 columns (all three columns have the same name on all 3 csv files), to count 1)what is duplicated and 2) what is different (counts only are fine).
Ex. csv1 colB needs checked and compared to csv2 colB and csv3 colb for count totals duplicated(matched on csv2,3) and coutn totals (matched on csv2/3).
All 3 csv's have same column names and colB has ip addreses, colC has hash values, and colD has domain names.
I have tried this for a test at matching colB with failure:
print(df[~df.colB.isin(df1.colB)]) #prints out all columns from df
Tried to add:
print(df[~df.colB.isin(df1.colB).count()]) #get multiple traceback errors