source: orange/Orange/testing/regression/tests_20/reference_exampletable_merge.py @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 382 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

Line 
1# xtest: RANDOM
2
3import orange
4
5data1 = orange.ExampleTable("merge1")
6data2 = orange.ExampleTable("merge2", use = data1.domain)
7
8merged = orange.ExampleTable([data1, data2])
9
10print
11print "Domain 1: ", data1.domain
12print "Domain 2: ", data2.domain
13print "Merged:   ", merged.domain
14print
15for i in range(len(data1)):
16    print "   %s\n + %s\n-> %s\n" % (data1[i], data2[i], merged[i])
Note: See TracBrowser for help on using the repository browser.