I am working on a task where I have 2 files named file1.csv and file2.csv with columns ids and dates.
Let's say data looked something like:
file1.csv
id dates
123 1/1/21
123 2/1/21
123 3/1/21
456 4/1/21
789 5/1/21
file2.csv
id dates
123 1/1/21
123 2/1/21
910 6/1/21
So basically an id can have multiple dates I have to make sure that the data in 2 files are accurate meaning, I will need to make sure that the data in both the files are same, I should retrieve info thats not in file1 and vice versa. in the above example the expected output should be something like:
file2.csv doesnt have a record with id 123 and date 3/1/21, 456 and 789 and file1.csv does not have records with id 910.