May-18-2018, 02:29 AM
I tried to save 2 dimensional array to a file and load it back. But not sure how to fix it. please advise. thanks.
import numpy as np x = [['ABC', 123.45], ['DEF', 678.90]] np.savetxt('text.txt',x) y = np.loadtxt('text.txt')