33,900 results
Open links in new tab
  1. filter() in python - GeeksforGeeks

    Mar 18, 2026 · filter () function is used to extract elements from an iterable (like a list, tuple or set) that satisfy a given condition. It …Read more

  2. Python's filter (): Extract Values From Iterables

    Jun 9, 2021 · In this step-by-step tutorial, you'll learn how Python's filter() works and how to use it effectively in your programs. You'll …Read more

  3. Python filter () Function - W3Schools

    The filter() function returns an iterator where the items are filtered through a function to test if the item is accepted or not.

  4. filter () | Python’s Built-in Functions – Real Python

    The built-in filter () function in Python is used to process an iterable and extract items that satisfy a given condition, as determined by …Read more

  5. How to Filter a List in Python (filter, Comprehension)

    Oct 16, 2026 · Filter a list in Python with list comprehensions, filter() and lambda, multiple conditions, dicts, strings and None, plus in …Read more

  6. Python filter(): Keep What You Need - DataCamp

    Jun 27, 2025 · Learn how Python filter() helps you extract elements that match a condition. Use it with custom functions, lambdas, or …Read more

  7. Python filter () - Programiz

    The filter () function selects elements from an iterable based on the result of a function. In this tutorial, we will learn about the Python …Read more

  8. Lambda and filter in Python Examples - GeeksforGeeks

    Apr 8, 2025 · Before diving into examples, let’s quickly understand the function of lambda and filter () in Python: lambda function: A …Read more

  9. Python filter () 函数 | 菜鸟教程

    Python filter () 函数 Python 内置函数 描述 filter () 函数用于过滤序列,过滤掉不符合条件的元素,返回由符合条件元素组成的新列表。 …Read more

  10. Filter (Extract/Remove) Items of a List with in Python: filter ()

    May 15, 2023 · Note that filter () can be substituted by list comprehensions or generator expressions, as described later, and in many …Read more