scipy.io.arff.loadarff

scipy.io.arff.loadarff(filename)

Read an arff file.

Parameters :

filename : str

the name of the file

Returns :

data : record array

the data of the arff file. Each record corresponds to one attribute.

meta : MetaData

this contains information about the arff file, like type and names of attributes, the relation (name of the dataset), etc...

Notes

This function should be able to read most arff files. Not implemented functionalities include:

  • date type attributes
  • string type attributes

It can read files with numeric and nominal attributes. It can read files with sparse data (? in the file).

Previous topic

scipy.io.wavfile.write

Next topic

scipy.io.netcdf.netcdf_file

This Page