def remove_col(self, col_num):
        """
        update table dataframe, and remove a column.
        resize grid to display correctly
        """
        label_value = self.GetColLabelValue(col_num).strip('**').strip('^^')
        self.col_labels.remove(label_value)
        del self.table.dataframe[label_value]
        result = self.DeleteCols(pos=col_num, numCols=1, updateLabels=True)
        self.size_grid()
        return result
def remove_col ( self , col_num ) : label_value = self . GetColLabelValue ( col_num ) . strip ( '**' ) . strip ( '^^' ) self . col_labels . remove ( label_value ) del self . table . dataframe [ label_value ] result = self . DeleteCols ( pos = col_num , numCols = 1 , updateLabels = True ) self . size_grid ( ) return result
update table dataframe, and remove a column.
        resize grid to display correctly