I have following dictionaries and wanted to save the values to appropriate columns
my_dict1= {'key1':'Yes','key2':'No', 'key3':12, 'key4':'Enabled', 'key5':'Single'}
my_dict2= {'key1':'Yes','key3':4, 'key4':'Disabled'}
I would like to save dictionary into CSV file such that CVS should like like
key1 | key2 | key3 | key4 | key5
Yes | No | 12 | Enabled | Single
Yes | - | 4 | Disabled | -