+ 25
map, filter and reduce explained with emoji ๐
map, filter and reduce explained with emoji ๐ map([๐ฎ, ๐ , ๐, ๐พ], cook) => [๐, ๐, ๐, ๐] filter([๐, ๐, ๐, ๐], isVegetarian) => [๐, ๐] reduce([๐, ๐, ๐, ๐], eat) => ๐ฉ
5 Answers
+ 22
informative code.
Now I understand...
+ 15
@Ipang
Sorry, escaped the deadly python. won't go back...
https://medium.com/@happymishra66/lambda-map-and-filter-in-python-4935f248593
lambda, map and filter in Python โ Rupesh Mishra โ Medium
http://book.pythontips.com/en/latest/map_filter.html
4. Map, Filter and Reduce โ Python Tips 0.1 documentation
https://www.python-course.eu/lambda.php
Python Tutorial: Lambda Operator, filter, reduce and map
http://www.bogotobogo.com/python/python_fncs_map_filter_reduce.php
Python Tutorial: map, filter, and reduce - 2017 - BogoToBogo
+ 4
Ummm.... surprisingly this was very helpful. Now I๏ธ really get it. Dead serious.
+ 3
Err... still learning, sorry, still don't quite understand it, can you shed a light for my darkened brain? I think Python is strangling my neck here :)
+ 1
@Lord Krishna, Thank you, appreciate the time taken, will save those links for further references :-)