[0aa069]: / src / create_numpy.py

Download this file

13 lines (11 with data), 327 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#import numpy as np
#print np.loadtxt('F:/NYU/Hackathon/output_file')
#dt = []
#print np.genfromtxt('F:/NYU/Hackathon/output_file', dtype=str)
#numpy.save('F:/NYU/Hackathon/outputTest', x)
#y = x.astype(np.float)
#print y
import numpy as np
data = np.genfromtxt('output_file-clean')
print data
np.save('numpy_array.npy',data)