0
I have one list of data with duplicate IDs and a second list of data with attributes for the IDs.
>>>a
[1,1,1,1,2,2,3,3]
>>>b
['No','No','Yes','No','Yes','No','No','No']
So, you can see the data more easily:
>>> for c,(x,y) in enumerate(zip(a,b)): print(c,x,y)
...
0 1 No
1 1 No
2 1 Yes
3 1 N...