source: orange/docs/reference/rst/code/instance-metavar.py @ 9372:aef193695ea9

Revision 9372:aef193695ea9, 166 bytes checked in by mitar, 2 years ago (diff)

Moved documentation to the separate directory.

Line 
1import random
2import Orange
3data = Orange.data.Table("lenses")
4id = Orange.data.variable.new_meta_id()
5for inst in data:
6    inst[id] = random.random()
7print data[0]
Note: See TracBrowser for help on using the repository browser.