Orange Forum • View topic - Reading a CSV using Python Code

Reading a CSV using Python Code

A place to ask questions about methods in Orange and how they are used and other general support.

Reading a CSV using Python Code

Postby mandeepak » Wed Feb 22, 2012 19:31

I am new to Orange. I want to read a CSV file from Python Code.
Orange.data.Table("fileName")
i.e.
Orange.data.Table("uitem.data")


I am getting the below exception -
SystemError: FileExampleGenerator: cannot open file 'uitem.names'

Process finished with exit code 1

Please provide the inputs.

Re: Reading a CSV using Python Code

Postby Ales » Thu Feb 23, 2012 10:12

Rename the file to 'uitem.csv'. The .data extension is reserved for data in C4.5 format.


Return to Questions & Support



cron