Apr 23, 2021
Definitely agree! Map and filter can be very useful to know, especially if coming from a functional programming language, to learn about things like list comprehensions. In a way, list comprehensions perform the same task as the map and/or filter functions.
I actually do a performance comparison of map and filter, list comprehensions, and for loops here:
https://towardsdatascience.com/become-a-more-efficient-python-programmer-3850c94b95a4
Thanks for reading!