<commit_before>
import csv
from .Converter import Converter

converter = Converter()

def convert(lines, start_row = 1, title_row = 0):

    if isinstance(type(lines), str):
        csv.reader(lines)

    return converter.convert(lines, start_row, title_row)
<commit_msg>removed unneeded<commit_after>
#import csv
from .Converter import Converter

converter = Converter()

def convert(lines, start_row = 1, title_row = 0):

    #if isinstance(type(lines), str):
    #    lines = [for line in csv.reader(lines)]

    return converter.convert(lines, start_row, title_row)

{'fraction_non_alphanumeric': 0.10877192982456141, 'fraction_numerical': 0.007017543859649123, 'mean_word_length': 4.438095238095238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3370318', 'n_tokens_mistral': 192, 'n_tokens_neox': 177, 'n_words': 51}