| Start | ||||||
|---|---|---|---|---|---|---|
| Basic use of filter To |
||||||
| Filter without function If the function parameter is |
||||||
| Filter as short-circuit check
To find the first element that is smaller than 100: The |
||||||
| Complementary function: filterfalse, ifilterfalse There is a complementary function for which works exactly like the generator Syntax
Parameters
RemarksIn most cases a comprehension or generator expression (opens new window) is more readable, more powerful and more efficient than |
Read Article
https://develop.horje.com/learn/1434/reference