make complex dictionary with two arrays : I have df1 and df2. for each element in df1 I want to check if it exist in df2 and print df3 

df1=['c_1', 'd_1', 'f_1', 'h_1', 'i_1', 'n_1', 'v_1', 'm_1']

df2=[['lia', 'f_1', 'n_1', 'v_1'], ['eli', 'f_1', 'n_1', 'v_1', 'm_1']]


I want an output like this 


df3=[('f_1', {'lia': 1}), ('n_1', {'lia': 1}), ('v_1', {'lia': 1}),('c_1', {'lia': 0}), ('d_1', {'lia': 0}), ('h_1', {'lia': 0}), ('i_1', {'lia': 0}), ('m_1', {'lia': 0}), ('f_1', {'eli': 1}), ...]

I tried some ilterations but it didn't work. If you want I can share them. 


Thanks 
