Ignore:
Timestamp:
02/05/12 22:37:07 (2 years ago)
Author:
umek@…
Branch:
default
rebase_source:
eb6a120705f3462186b982a698c0a7ad9f947e24
Message:

Changed table to data or name of the data set.

For example - instead of

table = Orange.data.Table("housing")

is changed to

housing = Orange.data.Table("housing")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/instance-metavar.py

    r9525 r9638  
    11import random 
    22import Orange 
    3 data = Orange.data.Table("lenses") 
     3lenses = Orange.data.Table("lenses") 
    44id = Orange.data.new_meta_id() 
    5 for inst in data: 
     5for inst in lenses: 
    66    inst[id] = random.random() 
    7 print data[0] 
     7print lenses[0] 
Note: See TracChangeset for help on using the changeset viewer.