23
說,我有以下格式的CSV FILE.CSV:如何在Python中將csv文件導入爲numpy.array?
dfaefew,432,1
vzcxvvz,300,1
ewrwefd,432,0
如何導入第二列爲numpy.array和第三列作爲另外一個是這樣的:
second = np.array([432, 300, 432])
third = np.array([1, 1, 0])
我我在Ubuntu中使用python2.7。
Thx ahead!