Python - Filter Function
About
The filter implementation in Python.
Filter applies a function individually to each element in a series; however, with filter, this function evaluates to True or False and only elements that evaluate to True are retained.