<commit_before>from django.core.exceptions import NON_FIELD_ERRORS
from django.utils.translation import ugettext_lazy as _


class DataInputError(object):

    def __init__(self, row='Unknown', columns=None, values=None):
        self.row = row
        self.columns = columns or ['Unknown']
        self.values = values or ['Unknown']

    def __dict__(self):
        return {
            'row': self.row,
            'columns': self.columns,
            'values': self.values,
            'message': self.message
        }

    @property
    def _message(self):<commit_msg>Fixed setting row to 'Unknown'<commit_after>from django.core.exceptions import NON_FIELD_ERRORS
from django.utils.translation import ugettext_lazy as _


class DataInputError(object):

    def __init__(self, row=None, columns=None, values=None):
        if row is None:
            row = 'Unknown'
        self.row = row
        self.columns = columns or ['Unknown']
        self.values = values or ['Unknown']

    def __dict__(self):
        return {
            'row': self.row,
            'columns': self.columns,
            'values': self.values,
            'message': self.message
        }

    @property
    def _message(self):
{'fraction_non_alphanumeric': 0.10726072607260725, 'fraction_numerical': 0.0, 'mean_word_length': 2.350828729281768, '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': '3303700', 'n_tokens_mistral': 347, 'n_tokens_neox': 336, 'n_words': 89}