create a dictionary from .txt file with each line as values and serial num as key
create a dictionary from .txt file with each line as values and serial num as key Question: i have a dataset which is a .txt file and each line has items separated by spaces. each line is a different transaction. the dataset looks like this: data.txt file 1 2 3 4 5 6 7 8 …