I know I focused more on filter than the map, but the filter is just a function that I'm always more hyped to use it lol. So if you feel doubtful why we need the map(), definitely consider reading this comment ;) Hi everyone I hope everything is well, In this video, I talk about the lambda, map, filter functions altogether. If you have any doubts after this video please make sure to comment out here. A short brief: Lambda - They are expressions that allow you to write functions much shorter and easier. Map - Allows executing some functionality on iterables, could be a great idea to use when you want to apply calculation for a list of numbers. Filter - Functions exist to filter the objects you want from a provided iterable. Could be awesome to returning some numbers that are above 50 from a given list of floats/integers. See my website for all the examples and access it from the link in my description!
Interesting question, but I don't think the decision of what to use should be about asking what is faster. Besides, you want to choose between the two by thinking which one will be more readable for other developers and for you. I read all the answers here: I really suggest you to have a look ;) stackoverflow.com/questions/1975250/when-should-i-use-a-map-instead-of-a-for-loop
I know I focused more on filter than the map, but the filter is just a function that I'm always more hyped to use it lol.
So if you feel doubtful why we need the map(), definitely consider reading this comment ;)
Hi everyone I hope everything is well,
In this video, I talk about the lambda, map, filter functions altogether.
If you have any doubts after this video please make sure to comment out here.
A short brief:
Lambda - They are expressions that allow you to write functions much shorter and easier.
Map - Allows executing some functionality on iterables, could be a great idea to use when you want to apply calculation for a list of numbers.
Filter - Functions exist to filter the objects you want from a provided iterable. Could be awesome to returning some numbers that are above 50 from a given list of floats/integers.
See my website for all the examples and access it from the link in my description!
I knew of lambda before but not how or why to use but now i know i will use it. map and filter very useful!
Awesome :)
אחלה הסבר , כל הכבוד תעשה עוד סרטונים ...אשמח אם תעשה גם מדריך שלם על
django
Thanks Jim, Next video I'm gonna learn from is how to structure python projects
On your channel.
Cool Gary, thanks! Feel free to share it with your friends :)
very good!
is the map function faster than the for loop?
Interesting question, but I don't think the decision of what to use should be about asking what is faster. Besides, you want to choose between the two by thinking which one will be more readable for other developers and for you.
I read all the answers here: I really suggest you to have a look ;)
stackoverflow.com/questions/1975250/when-should-i-use-a-map-instead-of-a-for-loop