Importing/exporting

- -
np.loadtxt('file.txt') From a text file
np.genfromtxt('file.csv',delimiter=',') From a CSV file
np.savetxt('file.txt',arr,delimiter=' ') Writes to a text file
np.savetxt('file.csv',arr,delimiter=',') Writes to a CSV file
Comments