How to identify duplicate dictionaries and merge its sub list into one dictionary
I have a list with duplicate dictionaries based on the “id” key. I want to merge the sublist in the dictionary and create 1 dictionary out of the 2.
I have a list with duplicate dictionaries based on the “id” key. I want to merge the sublist in the dictionary and create 1 dictionary out of the 2.