I have a dictionary where each key is a row index and each value is a list of dummy values. For example:
my_dict = {'row1': ['a', 'b'], 'row2': ['a'], 'row3': ['b', 'c']}
Can I create a dataframe of dummies with the above in an efficient manner?
>>> df
a b c
row1 True True False
row2 True False False
row3 False True True