Compare two CSV files and search for similar items
So I’ve got two CSV files that I’m trying to compare and get the results of the similar items.
The first file, hosts.csv is shown below:
So I’ve got two CSV files that I’m trying to compare and get the results of the similar items.
The first file, hosts.csv is shown below:
I’m trying to compare images to each other to find out whether they are different. First I tried to make a Pearson correleation of the RGB values, which works also quite good unless the pictures are a litte bit shifted. So if a have a 100% identical images but one is a little bit moved, I get a bad correlation value.
I don’t care what the differences are. I just want to know whether the contents are different.
I have the following codes:
What is the easiest way to compare the 2 lists/sets and output the differences? Are there any built in functions that will help me compare nested lists/sets?
Basically I want to do this: