I presently have the ability to remove duplicates if there is no key in front of the nested dictionary. An example of my list of dicts that works with this function is:
To remove duplicates from a list of dicts:
list_of_unique_dicts = [] for dict_ in list_of_dicts: if dict_ not in list_of_unique_dicts: list_of_unique_dicts.append(dict_)