From 4517b7254fe867f1111f6f16dcfd93fafd0a355f Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Wed, 8 Jan 2020 18:57:37 +0200 Subject: [PATCH 1/2] Update filter_non_unique.md --- snippets/filter_non_unique.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/filter_non_unique.md b/snippets/filter_non_unique.md index 373d1edbc..7cf2a2c4b 100644 --- a/snippets/filter_non_unique.md +++ b/snippets/filter_non_unique.md @@ -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 From 64f631fee8e026255193b294e7d0af6724271269 Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Wed, 8 Jan 2020 18:57:53 +0200 Subject: [PATCH 2/2] Update filter_unique.md --- snippets/filter_unique.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/filter_unique.md b/snippets/filter_unique.md index 5f5431514..2f3a73031 100644 --- a/snippets/filter_unique.md +++ b/snippets/filter_unique.md @@ -5,7 +5,7 @@ tags: list,beginner Filters out the 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 non-unique values. ```py