<commit_before>from gtable import Table
import numpy as np


def test_filter_1():
    a = np.arange(10, dtype=np.double)
    table_a = Table({'a': a, 'b': a})
    assert np.all(
        table_a.filter(table_a.a > 5).a.values == np.array([6, 7, 8, 9]))


def test_filter_1():
    a = np.arange(10, dtype=np.double)
    table_a = Table({'a': a, 'b': a})
    assert np.all(
        table_a.filter(
            (table_a.a > 5) & (table_a.b <= 6)).a.values == np.array([6])
    )<commit_msg>Forgot to change the name of one of the tests.<commit_after>from gtable import Table
import numpy as np


def test_filter_1():
    a = np.arange(10, dtype=np.double)
    table_a = Table({'a': a, 'b': a})
    assert np.all(
        table_a.filter(table_a.a > 5).a.values == np.array([6, 7, 8, 9]))


def test_filter_2():
    a = np.arange(10, dtype=np.double)
    table_a = Table({'a': a, 'b': a})
    assert np.all(
        table_a.filter(
            (table_a.a > 5) & (table_a.b <= 6)).a.values == np.array([6])
    )
{'fraction_non_alphanumeric': 0.18407960199004975, 'fraction_numerical': 0.027860696517412936, 'mean_word_length': 2.6849816849816848, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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}}
{'dir': 'git-commits-cleaned', 'id': '6397666', 'n_tokens_mistral': 420, 'n_tokens_neox': 397, 'n_words': 97}