<commit_before>#
#   Albow - Table View
#

from itertools import izip
from pygame import Rect
from layout import Column
from palette_view import PaletteView
from utils import blit_in_rect

class TableView(Column):

    columns = []
    header_font = None
    header_fg_color = None
    header_bg_color = None
    header_spacing = 5
    column_margin = 2

    def __init__(self, nrows=15, height=None,
            header_height=None, row_height=None,
            scrolling=True, **kwds):
        columns = self.predict_attr(kwds, 'columns')<commit_msg>pep8 compliance: E302 expected 2 blank lines<commit_after>#
#   Albow - Table View
#

from itertools import izip
from pygame import Rect
from layout import Column
from palette_view import PaletteView
from utils import blit_in_rect


class TableView(Column):

    columns = []
    header_font = None
    header_fg_color = None
    header_bg_color = None
    header_spacing = 5
    column_margin = 2

    def __init__(self, nrows=15, height=None,
            header_height=None, row_height=None,
            scrolling=True, **kwds):
        columns = self.predict_attr(kwds, 'columns')
{'fraction_non_alphanumeric': 0.07319223985890652, 'fraction_numerical': 0.01146384479717813, 'mean_word_length': 3.3653846153846154, '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': '6394273', 'n_tokens_mistral': 363, 'n_tokens_neox': 348, 'n_words': 101}