I have two list as follows (both list contains super long data):
list_1 = ["apple", "orange", "banana", ......]
list_2 = [[1,0,0,0,0], [0.5,0,0.5,0,0], [0,0,1,0,0], ......]
I want to have an outcome of :
list = {"apple" : [1,0,0,0,0], "orange" : [0.5,0,0.5,0,0], "banana" : [0,0,1,0,0], .......]
What I want to do is like putting list_1[0] to list_2[0], list_1[1] to list_2[1] and so on.
Is there a way to do automatically pair the data up no matter how long the datasets are ?
Thanks