def generate_tabular_label(self, **kwargs):
        include_resource = kwargs.pop('_include_default_resource', False)
        shown_column = kwargs.pop('shown_column', [])
        custom_label = kwargs.pop('custom_label', {})
        # prepare resource
        self.reset_generated()
        if include_resource:
            self._include_default_resource()
        # create html
        html  = ''
        if len(shown_column) == 0:
            shown_column = self._column_list
        for column_name in shown_column:
            if column_name in self._get_relation_names() and self._get_relation_class(column_name) == self.__class__:
                continue
            if custom_label in column_name:
                label = custom_label[column_name]
            else:
                label = self.build_label(column_name)
            html += HTML.th(label)
        self.generated_html = html
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/model.py/DB_Model.generate_tabular_label/swapped operands of `in`