source: orange/docs/reference/rst/code/ @ 9638:eb3af38491f2

Revision 9638:eb3af38491f2, 323 bytes checked in by umek@…, 2 years ago (diff)

Changed table to data or name of the data set.

For example - instead of

table ="housing")

is changed to

housing ="housing")

1import Orange
2lenses ="lenses")
3domain = lenses.domain
4inst =, ["young", "myope",
5                               "yes", "reduced", "soft"])
6print inst
7inst =, ["young", 0, 1,
8  [3], "reduced"), "soft"])
9print inst
Note: See TracBrowser for help on using the repository browser.