KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have following list of dictionaries: d = [ { 'name': 'test', 'regions': [{'country': 'UK'}] }, { 'name': 'test', 'regions': [{'country': 'US'}, {'country': 'DE'}] }, { 'name': 'test 1', 'regions': [{'country': 'UK'}], 'clients': ['1', '2', '5'] }, { 'name': 'test', 'regions': [{'country': 'UK'}] }, ] What is the easiest way to remove entries from the list that are duplicates ? I saw solutions that work, but only if an item doesn't have nested dicts or lists
Tags (comma-separated)
Save Edits
Cancel