From e2a50dcd00c79fba19ec5db41f3a34f2e1466f13 Mon Sep 17 00:00:00 2001 From: s407323 Date: Fri, 26 Apr 2019 14:08:24 +0200 Subject: [PATCH] python script fix --- zadanie3/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zadanie3/script.py b/zadanie3/script.py index 4262d88..242764c 100644 --- a/zadanie3/script.py +++ b/zadanie3/script.py @@ -5,7 +5,7 @@ import numpy, pandas print ('Hello, world!') -input_data = pandas.read_csv('ASR-eval/wikiniews_results.tsv', error_bad_lines=False, sep='\t', header=0) +input_data = pandas.read_csv('ASR-eval/wikiniews_results.tsv', index_col=False, error_bad_lines=False, sep='\t', header=0) -print(input_data[0]) +print(input_data.columns[1]) # numpy.savetxt('zadanie3/sentences.tsv', input_data[1], '%s') \ No newline at end of file