disable header in pandas dataframes
This commit is contained in:
parent
5f7fe04d90
commit
8e53829ffd
@ -1,5 +1,4 @@
|
||||
0
|
||||
0
|
||||
1
|
||||
0
|
||||
0
|
||||
|
|
4
run.py
4
run.py
@ -43,5 +43,5 @@ train_bayes(model, train_x, train_y)
|
||||
predicted = model.classify(dev_x)
|
||||
predicted2 = model.classify(test_x)
|
||||
|
||||
pd.DataFrame(predicted).to_csv('dev-0/out.tsv', sep='\t', encoding="utf-8", index=False)
|
||||
pd.DataFrame(predicted2).to_csv('test-A/out.tsv', sep='\t', encoding="utf-8", index=False)
|
||||
pd.DataFrame(predicted).to_csv('dev-0/out.tsv', sep='\t', header=None, encoding="utf-8", index=False)
|
||||
pd.DataFrame(predicted2).to_csv('test-A/out.tsv', sep='\t', header=None, encoding="utf-8", index=False)
|
||||
|
@ -14,7 +14,6 @@
|
||||
0
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
0
|
||||
0
|
||||
|
|
Loading…
Reference in New Issue
Block a user