R语言 read.arff 位于foreign 包(package)。 说明 从Weka Attribute-Relation 文件格式 (ARFF) 文件读取数据。 用法 read.arff(file) 参数 file 一个字符串,其中包含要读取的 ARFF 文件的名称,或者 connection,如果需要,将打开它,如果需要,则在函数调用结束时关闭。 值 包含ARFF 文件中的数据的数据帧。 参考...
Read an ARFF filefilename
You can read an ARFF file as follows: >>> import arff >>> data = arff.load(open('wheater.arff', 'rb')) Which results in: >>> data { u'attributes': [ (u'outlook', [u'sunny', u'overcast', u'rainy']), (u'temperature', u'REAL'), (u'humidity', u'REAL'), (u'windy'...
在公司的业务中有这么一个场景:需要将某个系统的结果对象放进Hbase中,然后被后续系统读取使用,在H...