(self)
return [vars_[index.row()] for index in sel_rows]
Get select attributes in the table
Get select attributes in the table
Get select attributes in the table
def get_selected_attributes(self):
        """Get select attributes in the table"""
        selection_model = self.agg_table_view.selectionModel()
        sel_rows = selection_model.selectedRows()
        vars_ = self.data.domain.variables + self.data.domain.metas
        return [vars_[index.row()] for index in sel_rows]
def get_selected_attributes ( self ) : selection_model = self . agg_table_view . selectionModel ( ) sel_rows = selection_model . selectedRows ( ) vars_ = self . data . domain . variables + self . data . domain . metas return [ vars_ [ index . row ( ) ] for index in sel_rows ]