<jupyter_start><jupyter_text>Filter Function<jupyter_code>def even(num):
    if num %2==0:
        return True
lst=[1,2,3,6,44,22,99,35,74]
filter(even,lst)
list(filter(even,lst))
list(filter(lambda num:num%2==0,lst))
list(map(lambda num:num%2==0,lst))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19148936170212766, 'fraction_numerical': 0.07092198581560284, 'mean_word_length': 9.481481481481481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '153009', 'license': 'CC0-1.0', 'n_tokens_mistral': 130, 'n_tokens_neox': 124, 'n_words': 15, 'path': 'Filter Function.ipynb', 'repo_name': 'Tanmoy741127/Python-ML', 'size': '282'}