From 6059bfb4a77946e2e347574b26db71c810e2e999 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Wed, 27 Apr 2022 01:24:42 +0200 Subject: [PATCH] one too many row --- dev-0/out.tsv | 1 - dev-0/run.py | 2 +- dev-1/.~lock.expected.tsv# | 1 + dev-1/.~lock.out.tsv# | 1 + dev-1/out.tsv | 1 - dev-1/run.py | 2 +- run.py | 2 +- test-A/out.tsv | 1 - test-A/run.py | 2 +- train/run.py | 2 +- 10 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 dev-1/.~lock.expected.tsv# create mode 100644 dev-1/.~lock.out.tsv# diff --git a/dev-0/out.tsv b/dev-0/out.tsv index 7bb8502..8e8fa51 100644 --- a/dev-0/out.tsv +++ b/dev-0/out.tsv @@ -1,4 +1,3 @@ -0 1 0 1 diff --git a/dev-0/run.py b/dev-0/run.py index d80ccfc..6fc215c 100644 --- a/dev-0/run.py +++ b/dev-0/run.py @@ -83,5 +83,5 @@ for i in range(len(answers)): df = pd.Series(answers) -df.to_csv('out.tsv', sep = '\t',index=False) +df.to_csv('out.tsv', sep = '\t', index=False, header=False) diff --git a/dev-1/.~lock.expected.tsv# b/dev-1/.~lock.expected.tsv# new file mode 100644 index 0000000..7a9c198 --- /dev/null +++ b/dev-1/.~lock.expected.tsv# @@ -0,0 +1 @@ +,DESKTOP-QF2J2E3/riraa,DESKTOP-QF2J2E3,27.04.2022 01:17,file:///C:/Users/riraa/AppData/Roaming/LibreOffice/4; \ No newline at end of file diff --git a/dev-1/.~lock.out.tsv# b/dev-1/.~lock.out.tsv# new file mode 100644 index 0000000..14d27a7 --- /dev/null +++ b/dev-1/.~lock.out.tsv# @@ -0,0 +1 @@ +,DESKTOP-QF2J2E3/riraa,DESKTOP-QF2J2E3,27.04.2022 01:16,file:///C:/Users/riraa/AppData/Roaming/LibreOffice/4; \ No newline at end of file diff --git a/dev-1/out.tsv b/dev-1/out.tsv index a5106ca..7d1bb0f 100644 --- a/dev-1/out.tsv +++ b/dev-1/out.tsv @@ -1,6 +1,5 @@ 0 0 -0 1 0 0 diff --git a/dev-1/run.py b/dev-1/run.py index d80ccfc..6fc215c 100644 --- a/dev-1/run.py +++ b/dev-1/run.py @@ -83,5 +83,5 @@ for i in range(len(answers)): df = pd.Series(answers) -df.to_csv('out.tsv', sep = '\t',index=False) +df.to_csv('out.tsv', sep = '\t', index=False, header=False) diff --git a/run.py b/run.py index d80ccfc..6fc215c 100644 --- a/run.py +++ b/run.py @@ -83,5 +83,5 @@ for i in range(len(answers)): df = pd.Series(answers) -df.to_csv('out.tsv', sep = '\t',index=False) +df.to_csv('out.tsv', sep = '\t', index=False, header=False) diff --git a/test-A/out.tsv b/test-A/out.tsv index 90f910f..f765761 100644 --- a/test-A/out.tsv +++ b/test-A/out.tsv @@ -1,5 +1,4 @@ 0 -0 1 1 0 diff --git a/test-A/run.py b/test-A/run.py index d80ccfc..6fc215c 100644 --- a/test-A/run.py +++ b/test-A/run.py @@ -83,5 +83,5 @@ for i in range(len(answers)): df = pd.Series(answers) -df.to_csv('out.tsv', sep = '\t',index=False) +df.to_csv('out.tsv', sep = '\t', index=False, header=False) diff --git a/train/run.py b/train/run.py index d80ccfc..6fc215c 100644 --- a/train/run.py +++ b/train/run.py @@ -83,5 +83,5 @@ for i in range(len(answers)): df = pd.Series(answers) -df.to_csv('out.tsv', sep = '\t',index=False) +df.to_csv('out.tsv', sep = '\t', index=False, header=False)