About 2,560 results
Open links in new tab
  1. Python's filter (): Extract Values From Iterables

    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 also learn how to use list comprehension and generator expressions to …

  2. Python filter () Function - W3Schools

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

  3. filter () in python - GeeksforGeeks

    Sep 1, 2025 · filter () function is used to extract elements from an iterable (like a list, tuple or set) that satisfy a given condition. It works by applying a function to each element and keeping only …

  4. Python Filter Function Guide: Filter Lists & Iterables - PyTutorial

    Feb 2, 2026 · Learn how to use the Python filter () function to efficiently extract items from lists and iterables based on a condition, with clear examples for beginners.

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

    Jun 27, 2025 · Learn how to use Python's filter () function to extract items from lists or other iterables. Understand the key differences between filter and similar Python tools.

  6. Python Filter Function Explained with Examples

    Sep 9, 2025 · Learn how the Python filter () function works with practical examples. Discover how to filter lists, tuples, and iterables efficiently using conditions.

  7. Python filter () Function - Online Tutorials Library

    The Python filter () function allows you to filter out elements from an iterable object based on the specified condition. An object is said to be iterable if it allows its item to be retrieved through …

  8. Python Filter Function: A Comprehensive Guide - CodeRivers

    Jan 21, 2025 · In Python, the filter() function is a powerful built-in tool that allows you to efficiently filter elements from an iterable (such as a list, tuple, or set) based on a certain condition. It …

  9. Python filter () - Programiz

    In this tutorial, we will learn about the Python filter () function with the help of examples.

  10. Python filter: A Complete Guide to Filtering Iterables - datagy

    Apr 15, 2022 · The Python filter() function is a built-in function that lets you pass in one iterable (such as a list) and return a new, filtered iterator. The function provides a useful, repeatable …