source: orange/orange/doc/reference/exampletable_merge.py @ 6538:a5f65d7f0b2c

Revision 6538:a5f65d7f0b2c, 382 bytes checked in by Mitar <Mitar@…>, 4 years ago (diff)

Made XPM version of the icon 32x32.

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.