ou can use Numpy’s genfromtxt()
method to do so, by setting the delimiter
kwarg to a comma.
from numpy import genfromtxt my_data = genfromtxt('my_file.csv', delimiter=',')
ou can use Numpy’s genfromtxt()
method to do so, by setting the delimiter
kwarg to a comma.
from numpy import genfromtxt my_data = genfromtxt('my_file.csv', delimiter=',')