Update filter_non_unique.md

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-01-08 18:57:37 +02:00
committed by GitHub
parent ccb01a5ad7
commit 4517b7254f

View File

@ -5,7 +5,7 @@ tags: list,beginner
Filters out the non-unique values in a list.
Use a `Counter` to get the count of each value in the list.
Use a `collections.Counter` to get the count of each value in the list.
Use list comprehension to create a list containing only the unique values.
```py