Exemplo n.º 1
0
def test_threaded_reader():
    r = Reader(
            thread_count=2,
            reader=FileReader,
            from_path='tests/data/tweets')
    df = r.to_pandas()

    assert len(df) == 50
Exemplo n.º 2
0
def test_reader_to_pandas():
    r = Reader(reader=FileReader, from_path='tests/data/tweets')
    df = r.to_pandas()

    assert len(df) == 50