import csv
num = open('car3.csv')
nums = csv.reader(num)
nums_list = []
for i in nums:
    nums_list.append(i)
import numpy as np
nums_arr = np.array(nums_list, dtype = np.float32)
print(nums_arr)
print(np.std(nums_arr, axis=0))
The result is this.
[[ 1.  1.  2.]
 [ 1.  1.  2.]
 [ 1.  1.  2.]
 ..., 
 [ 0.  0.  5.]
 [ 0.  0.  5.]
 [ 0.  0.  5.]]
[ 0.5         0.5         1.11803401]
There are lots of spaces that I didn't expected. How can I handle these anyway?
 
    