def build_label(self, column_name, **kwargs):
        ''' DON'T OVERRIDE THIS UNLESS YOU KNOW WHAT YOU DO
        This method is used to generate label
        '''
        # get custom_input if exists
        if hasattr(self, 'build_label_'+column_name):
            return getattr(self, 'build_label_'+column_name)(**kwargs)
        # look at __column_label__ property        
        if column_name in self.__column_label__:
            return self.__column_label__[column_name]
        # generate default label by replace '_' with ' ' in the column_name and make the first letter capitalized
        return column_name.replace('_', ' ').title()
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/model.py/DB_Model.build_label/original