Drops duplicates from nested list
Project description
Drops duplicates from nested list
$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']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for drop_duplicates_nested_list-0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c9a738e363e8f5a32ca99789868486929bd2f67d13dd80f59f1b6d84c13459a |
|
MD5 | e7819ff5f89577bdb7dd0f9174c0e4d7 |
|
BLAKE2b-256 | 930fa8347d2c35c4faadbcd55c5ebcb2f76c0c380e4596cbe79bb7c54896db34 |
Close
Hashes for drop_duplicates_nested_list-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f424c9b47d59d017ee61256ac0f2897d09aa070478d56135b4a3325b5c60b67f |
|
MD5 | 6cdc795faca58f55081838af4684698b |
|
BLAKE2b-256 | 755d281b1c257d3ac37b7e8edeb33f709b882affd44d274b8b45d3132be44276 |