I have a dictionary that has 3000 keys and each key has a list as its value,
example:
dictionary = {'yup': ['chocolate', 'pizza', 'rainbows'], 'tape': ['what', 'milk'], ....}
I want to convert this dictionary into a database but since I have unequal values I am unable to use the pandas command "pd.DataFrame(dictionary)
". I received the error message "arrays must all be same length".
My question is, how do I still create a data frame (transpose it) and have the empty cells where there isn't data.
Example:
index column1 column2 column3
`'yup' 'chocolate' 'pizza' 'rainbows`'
'tape' 'what' 'milk' blank