I have multiple csv files that are all of format:date, time, name1, name2, number1,number2,number3,number4,number5,number6,number7
What i want to do is get the max numbers1-7 by connecting rows from different files with a criteria that the date, time, name1, name2 are equal. I couldn't find a solution of what kind of structures are best to use and the all in all how should i structure my algorithm to be as optimal as possible.
Only idea is to just bruteforce it and try to match every row from one file with all of the other files but its not time efficient.