Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Python Lambda, Map, Filter, & Reduce - Higher Order Functions for Beginners

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Python's higher-order functions in this beginner-friendly tutorial video. Dive into lambda expressions, map(), filter(), and reduce() functions to write more efficient and cleaner code. Learn when and how to use these powerful tools through practical examples and step-by-step explanations. Discover the concept of lambda functions and their applications in various scenarios. Understand the benefits and potential pitfalls of using reduce(), including when to opt for simpler alternatives. By the end of this 21-minute guide, gain a solid foundation in Python's functional programming techniques and enhance your coding skills.

Syllabus

Intro
Welcome
What is a lambda?
Lambda function expression examples
When to use lambda expressions
What are Higher Order Functions?
map function
filter function
reduce function
Avoid reduce if a simple solution exists
More complex reduce example

Taught by

Dave Gray

Reviews

Start your review of Python Lambda, Map, Filter, & Reduce - Higher Order Functions for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.