Skip to content

Commit 00a2868

Browse files
authored
Update map_filter.rst
Provided an explanation of what map() is actually doing.
1 parent 5f61e81 commit 00a2868

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

map_filter.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ Reduce
8080
^^^^^^^^^
8181

8282
``Reduce`` is a really useful function for performing some computation on
83-
a list and returning the result. For example, if you wanted to compute
84-
the product of a list of integers.
83+
a list and returning the result. It applies a rolling computation to sequential
84+
pairs of values in a list. For example, if you wanted to compute the product
85+
of a list of integers.
8586

8687
So the normal way you might go about doing this task in python is using
8788
a basic for loop:

0 commit comments

Comments
 (0)