unique_list_of_attributes = list(set(ml))
df = pd.concat([df, pd.DataFrame(columns=unique_list_of_attributes)]).fillna(
    value='')
for row in df.iterrows():
    pass
Have Pandas column containing lists, how to pivot unique list elements to columns?