Wow ... that's so simplified!!! I finally got someone who me me see all of them at once in a simplified manner along with how they can be used together. Thanx Joe!!!
Small mistake at 5:20, the map function would only work if square was defined as def square(num): return num**2 since the parameter would need to be a number, not a list.
This is great. I always found these functions confusing, but you have explained them so clearly, I am going to use them extensively in my coding. Thanks a lot.
I"ve seen many videos about this topic, but this is, BY FAR, the BEST. Not only the pace was the adecuate fir beginners like me, but it was also full of examples and alternatives. Thanks for publishing this video. Thumbs up thumbs ☝!!
Subbed. Don't know why UA-cam hasn't brought me to your channel before. Your explanation helped me understand three functions (two of which I hadn't even heard of) that I didn't understand before. Thank you.
Joe, you just helped me understand Lambda and other functions. This will be the easiest explanation I have seen so far. (a week into Python programming)
so easy to follow, great job! for the last part: i think the code needs to be updated and import functools import functools print(functools.reduce(lambda x,y:x*y,n))
At 5:00 you can’t use the square function with map there. Since map takes on element from the list a time, and then applies the square function to it, *but* the square function is written to deal with an entire list not a single element.
Well explained! I started learning Python 4 days ago on Treehouse, but still, with this explanation I managed to make my first lambda functions work in one go.
Thank you for the explanation. Just a correction at 5:24 . You cannot pass the square function as-is to the map along with the list. The map is expecting individual items. Not the list itself.
Explanation was outstanding....crisp, clean and clear... Watched some of the videos but i found them vague... Contented after watching this ...cheers ..and Yes...Subscribed 😊
Superb explanation Joe!! I have always confused with Map filter reduce and list comprehension concepts !!! I am very much clear now exactly when to use them.
Word of correction about 3:10 you’re saying that map returns a list. This is not true, it returns an iterator which may or may not be converted into a list. This is why we use list(map(func, [])) to convert a map output to a list.
Finally, someone who actually explained this quite elegantly and simply.
EXCELENTE: GOOD EXPLANATION. BETTER THAN MY TEACHER, AT COLLEGE.
Wow ... that's so simplified!!! I finally got someone who me me see all of them at once in a simplified manner along with how they can be used together. Thanx Joe!!!
You're so welcome!
Small mistake at 5:20, the map function would only work if square was defined as
def square(num):
return num**2
since the parameter would need to be a number, not a list.
That approach was meant to be equivalent to the _whole_ thing on the right, not just to the lambda function ;)
def square(lst1=[]):
@@juliuskamara1348didn't work
This is great. I always found these functions confusing, but you have explained them so clearly, I am going to use them extensively in my coding. Thanks a lot.
bhali karay ayo
same, great video!
I have an interview coming and needed a refresher. Thank you.
See mine too.
How’d your interview go?
I"ve seen many videos about this topic, but this is, BY FAR, the BEST. Not only the pace was the adecuate fir beginners like me, but it was also full of examples and alternatives. Thanks for publishing this video. Thumbs up thumbs ☝!!
I took this lesson in a paid online course and didn't make any sense. I watched this video and it's crystal clear now.
Thank you Sir!
Subbed. Don't know why UA-cam hasn't brought me to your channel before. Your explanation helped me understand three functions (two of which I hadn't even heard of) that I didn't understand before. Thank you.
This is gold. I have been doing codewars tasks for a while now, painstainkingly writing each lines for conditions. I wiish I found this earlier!
Excellent; very helpful. Thank you so much.
Finally, a presenter who doesn't start every sentence with "so" or "".
Joe, you just helped me understand Lambda and other functions. This will be the easiest explanation I have seen so far. (a week into Python programming)
Simply awesome. The way it has been explained.
this is easiest way to teach complex method...Thank You!!!
Very clear and precise explanation that anyone should be able understand.
Great concise video, this was the first video that I found using python3
This extremely simple lesson can save one hundreds of lines of coding. Thanks for creating it!
Is this actually useful? I feel like you could do the same, even faster and more optimized with a simple numpy package
so easy to follow, great job!
for the last part: i think the code needs to be updated and import functools
import functools
print(functools.reduce(lambda x,y:x*y,n))
I couldn't agree more with you!
At last, an excellent and concise explanation of this functions, loved this clip ! Thanks
One of the most effective lessons I have seen!
At 5:00 you can’t use the square function with map there. Since map takes on element from the list a time, and then applies the square function to it, *but* the square function is written to deal with an entire list not a single element.
lot of confusion regarding comprehensions,lambda,map functions~!today i got clarity !!thk u so much!!!
Thanks for the video! I was confused on lambda and this video explained them really well.
Thanks for sharing Joe, very clear and didactics your explanation.
Thanks a lot from Brazil! I always found them very confusing, now I am happy with this learning experience!
thank you, so clear. I love the visuals
Well explained! I started learning Python 4 days ago on Treehouse, but still, with this explanation I managed to make my first lambda functions work in one go.
4 days eh?
Thanks for clarifying these so eloquently. Loved it.
Neat and clear explanation with good example.
Thank you for the explanation. Just a correction at 5:24 . You cannot pass the square function as-is to the map along with the list. The map is expecting individual items. Not the list itself.
ya sure? pretty sure it will work.
Very helpful sir. Hope a lot of students will learn something from it. Regards, love and affection.
helpful video, really explains the lambda concept
Explanation was outstanding....crisp, clean and clear... Watched some of the videos but i found them vague... Contented after watching this ...cheers ..and Yes...Subscribed 😊
Very well explained. Thank you.
Very simplified explanation..highly useful..can't thank you enough..outstanding
Thank you sir for your crystal clear explanation!!
This is best video on UA-cam,
Thanks!
you have exaplained in simple english brother. thank you
That is awesome. simple, neat visually presented.. easily understandable on comparing to traditional functions
Thanks, u explained elegantly.
Thanks a lot. I am a Java developer. I find this map, filter, reduce concept new. Learnt new thing today 😊😊
Superb explanation Joe!! I have always confused with Map filter reduce and list comprehension concepts !!! I am very much clear now exactly when to use them.
Simple and brief explanation! Thank you very much for your efforts!
Very clear. Thank you for taking the time to enlighten us.
i watched alot of videos about that functions, i couldn't understand any one of them! except yours, it was awsome!
that helps so muchhhh!🥳 Thank You!❤
Your videos are outstanding.
+Wingo Chambers thanks
Clear explanation
Very clear explanation thanks jay
The best Tutorial i have seen so far. well explained and i like the way u relate the subject with other similar operations.
Great video, beautiful and clear explanation :-)
nice!, thank you so much, you have better lecture than my professor did!
Word of correction about 3:10 you’re saying that map returns a list. This is not true, it returns an iterator which may or may not be converted into a list. This is why we use list(map(func, [])) to convert a map output to a list.
Good input. Thanks!
@@joejamesusa You’re welcome :)
Masha Allah. What a concise explanation. Thank you Brother. May peace be upon you.
This was very useful. Thank you
Explained in very easy way. Great video!!
Great video
Great video. Very simple and clear explanation. Thanks.
Hi Joe, I am late to the party, but this is a very well made video. Super clear and helpful. Thanks.
well done man thanks for your clean and simple explanation
so simple and clear, subscribed! Oh, you have a lot more videos!
+photinoman I have about 90 videos. A third of them are on Python data structures and algorithms
I like your tutorials ! cheers
Definitely helpful vid, hate reading python docs
brief and clear !!! thanks
2:52
map function
Really clear explanation! Thank you so much!
there are syntax problems in the code shown 4:59. it should be print(square([4,3,2,1])). It should be print(map(square,n))
Just easy to ubderstand and really enjoyed. Thanks sir
Good Video with simple explanations... n=[10,100,1000,10000] print("Thank You {} Much". list(map(lambda x:(format(" very very ")**2, n))
))
Thanks! That was simple to understand..
Good work sir
Thank you sir for this video.Now I understand why they are called anonymous functions:)
You make it look easy, Thanks a lot!
Perfect explanation
Good explanations. Thanks.
Nice clear explanation - thanks
Good one for beginners
Woah, so simple! Thanks so much for the video, I think I understand now.
your life is so simple!
This is amazing
Great video👍👍👍👍👍❤❤❤❤💖💖💖💖
Thank you! Cheers!
thank you Joey for this informative video!!
awesome thanks for taking the effort to make this
loved the video...very pellucidly explained...thanks....earlier i skipped the video coz of music :P
wonderful explanation...
short and sweet. thanks
Excellent. !!!!!
Thanks for this its fluently help me
that was a real help joe
an informative video! thank you
Very well explained.
Amazing 🙌
Nice explanation. Thanks
thank you. very informative and well explained
nums = [4, 3, 2, 1]
def square(x):
return x*x
print([square(num) for num in nums])
Short and easy one:
nums = [4, 3, 2, 1]
print([x * x for x in nums])
Great explanation.... thank you so much
Thank you very much ❤🌹😊
Great Explanation
Thanks dude it was easily understandable......:)
Super helpful. Thanks!