<commit_before>class Matrix(object):
    def __init__(self, s):
        self.rows = [[int(n) for n in row.split()]
                     for row in s.split('\n')]

    @property
    def columns(self):
        return map(list, zip(*self.rows))<commit_msg>Make matrix exercise compatible with Python3<commit_after>class Matrix(object):
    def __init__(self, s):
        self.rows = [[int(n) for n in row.split()]
                     for row in s.split('\n')]

    @property
    def columns(self):
        return [list(tup) for tup in zip(*self.rows)]
{'fraction_non_alphanumeric': 0.14025500910746813, 'fraction_numerical': 0.0018214936247723133, 'mean_word_length': 2.4161490683229814, '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': '4287338', 'n_tokens_mistral': 171, 'n_tokens_neox': 170, 'n_words': 49}