https://github.com/hansalemaos/drop_duplicates_nested_list
Drops duplicates from nested list
https://github.com/hansalemaos/drop_duplicates_nested_list
drop duplicates list python
Last synced: about 1 month ago
JSON representation
Drops duplicates from nested list
- Host: GitHub
- URL: https://github.com/hansalemaos/drop_duplicates_nested_list
- Owner: hansalemaos
- License: mit
- Created: 2022-12-29T09:05:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T09:05:11.000Z (over 3 years ago)
- Last Synced: 2025-12-16T14:17:00.700Z (7 months ago)
- Topics: drop, duplicates, list, python
- Language: Python
- Homepage: https://pypi.org/project/drop-duplicates-nested-list
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# Drops duplicates from nested list
```python
$pip install drop-duplicates-nested-list
from drop_duplicates_nested_list import drop_duplicates
L = ['a', ['aa', 'a'] ,'a',['aa', 'a'] ,['bb', ['ccc', 'ddd'], 'ee', 'ff'], 'g', 'h',['bb', ['ccc', 'ddd'], 'ee', 'ff']]
print(drop_duplicates(L))
['a', ['aa', 'a'], ['bb', ['ccc', 'ddd'], 'ee', 'ff'], 'g', 'h']
```