From the course: Functional Programming with Python
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Combining list functions - Python Tutorial
From the course: Functional Programming with Python
Combining list functions
- [Instructor] We've seen so far in previous videos some of Python's numerous ways of working with lists and other iterables, their syntax and some examples of how they might be used in a code base. These concepts are certainly very powerful on their own, and each contributes a great deal towards simplifying and increasing readability in our code. The really exciting part, however, is that these methods can all be combined to give us an incredible amount of functionality. In this video we're going to walk through an example and how we can do this. The example we're going to look at is this. Let's say we have a list of employee data, each represented by a dictionary with names, salary, and job title entries. In the wild there's all sorts of interesting information that can be deduced from data sets like this, and we're going to examine a way that we can discover such information using the functional methods we've learned in…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Python: The functional parts1m 5s
-
(Locked)
Mapping4m 45s
-
(Locked)
Filtering3m 20s
-
(Locked)
Lambdas in Python4m 25s
-
(Locked)
List comprehensions in Python3m 35s
-
(Locked)
Reducing4m 53s
-
(Locked)
Combining list functions7m 15s
-
(Locked)
Challenge: Converting to list comprehensions52s
-
(Locked)
Solution: Converting to list comprehensions3m 30s
-
(Locked)
Solution: Practicing list comprehensions1m 46s
-
(Locked)
-
-
-