I have a list, and that list contains dictionaries. There may be duplicate dictionaries in the list.
I am trying to get a count of unique dictionaries in the list.
I have tried using collections.Counter, but i receive an error stating the items (dictionaries in my list) are not hashable.
Ultimately, I'd like to return a list containing only unique dictionaries, and each dictionary will contain a new key/value pair with -'cnt': .
Can someone help?