What is the filter() Function?
In this lesson, you’ll learn that
filter() is one of the functional programming primitives (or building blocks) available in Python and that it’s useful in a number of contexts.
You’ll see how you can use
filter() to play with your data set. You’ll write a filter expression to see which items in your data set meet particular criteria.
filter() takes another function object, and you can define a function object inline with
Comments & Discussion
Become a Member to join the conversation.