aksnzhy / xlearn

High performance, easy-to-use, and scalable machine learning (ML) package, including linear model (LR), factorization machines (FM), and field-aware factorization machines (FFM) for Python and CLI interface.
https://xlearn-doc.readthedocs.io/en/latest/index.html
Apache License 2.0
3.09k stars 519 forks source link

如何读取含有表头的csv文件 #305

Open ghost opened 5 years ago

ghost commented 5 years ago

报错信息

[ ACTION     ] Read Problem ...
[------------] First check if the text file has been already converted to binary format.
[------------] Binary file (train_after10000_.csv_0.bin) NOT found. Convert text file to binary file.
Segmentation fault (core dumped)

我传入的csv文件含有表头,这样不可以吗?

我把表头删除了重新读取,这个问题就解决了,请问如何才能读取不删除表头的csv文件