source: orange/docs/tutorial/rst/code/data-featureselection.py @ 11052:c22077a09e63

Revision 11052:c22077a09e63, 216 bytes checked in by blaz <blaz.zupan@…>, 16 months ago (diff)

new tutorial

Line 
1import Orange
2
3data = Orange.data.Table("iris.tab")
4new_domain = Orange.data.Domain(data.domain.features[:2] + [data.domain.class_var])
5new_data = Orange.data.Table(new_domain, data)
6
7print data[0]
8print new_data[0]
Note: See TracBrowser for help on using the repository browser.