python script fix

This commit is contained in:
s407323 2019-04-26 14:30:12 +02:00
parent e2a50dcd00
commit d103d20423

View File

@ -5,7 +5,8 @@ import numpy, pandas
print('Hello, world!')
input_data = pandas.read_csv('ASR-eval/wikiniews_results.tsv', index_col=False, error_bad_lines=False, sep='\t', header=0)
input_data = pandas.read_csv('ASR-eval/wikiniews_results.tsv', error_bad_lines=False, sep='\t', header=None)
print(input_data.columns[1])
# numpy.savetxt('zadanie3/sentences.tsv', input_data[1], '%s')
sentences = input_data[1]
numpy.savetxt('zadanie3/sentences.tsv', input_data[1], '%s')