How can I open three different files in python, add certain columns from each file to dictionaries, combine those dictionaries and filter them against one main file?
I was trying to open the file, print the columns I need and then put them into a dictionary. I'm not sure how the syntax works exactly.
with open("CSB/python/data/part1.txt", "r")as f:
for row in reader:
print(row["col1"], ["col4"])
Also, how would I merge those dictionaries and filter it against a master file?