(self, formatter=None)
return None
Return the column corresponding to label data
Return the column corresponding to label data
Return the column corresponding to label data
def get_label_data(self, formatter=None):
        """Return the column corresponding to label data"""
        if self.attr_label:
            label_data = self.get_column(self.attr_label)
            if formatter is None:
                formatter = self.attr_label.str_val
            return np.array([formatter(x) for x in label_data])
        return None
def get_label_data ( self , formatter = None ) : if self . attr_label : label_data = self . get_column ( self . attr_label ) if formatter is None : formatter = self . attr_label . str_val return np . array ( [ formatter ( x ) for x in label_data ] ) return None