Beispiel #1
0
    def commit(self):
        from Orange.data import utils
        if self.table is not None:
            table = Orange.data.Table(self.table)
            if self.use_guid:
                utils.add_row_id(table, utils.uuid_generator())
            else:
                utils.add_row_id(table, utils.range_generator())
        else:
            table = None

        self.send("Data", table)
Beispiel #2
0
 def commit(self):
     from Orange.data import utils
     if self.table is not None:
         table = Orange.data.Table(self.table)
         if self.use_guid:
             utils.add_row_id(table, utils.uuid_generator())
         else:
             utils.add_row_id(table, utils.range_generator())
     else:
         table = None
         
     self.send("Data", table)
Beispiel #3
0
 def test_right_join(self, table):
     utils.add_row_id(table)
     part1, part2 = split(table)
     utils.right_join(part1, part2, utils._row_meta_id, utils._row_meta_id)