From 90d36d46ca5894a5501892e9373a05bcabc187a7 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sun, 22 Sep 2019 15:24:39 +0300 Subject: [PATCH] Update group_by.md --- snippets/group_by.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/group_by.md b/snippets/group_by.md index 6bd8ec4d5..c76c39254 100644 --- a/snippets/group_by.md +++ b/snippets/group_by.md @@ -5,7 +5,7 @@ tags: list,object,beginner Groups the elements of a list based on the given function. -Use `list()` in combination with `map()` and `fn` to map the values of the list to the keys of an object. +Use `map()` and `fn` to map the values of the list to the keys of an object. Use list comprehension to map each element to the appropriate `key`. ```py