python script fix
This commit is contained in:
parent
e2a50dcd00
commit
d103d20423
@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
import numpy, pandas
|
import numpy, pandas
|
||||||
|
|
||||||
print ('Hello, world!')
|
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])
|
sentences = input_data[1]
|
||||||
# numpy.savetxt('zadanie3/sentences.tsv', input_data[1], '%s')
|
|
||||||
|
numpy.savetxt('zadanie3/sentences.tsv', input_data[1], '%s')
|
Loading…
Reference in New Issue
Block a user