How to read csv into record array in numpy?

You can use Numpy's genfromtxt()method to do so, by setting the delimiterkwarg to a comma.

from numpy import genfromtxt
my_data = genfromtxt('my_file.csv', delimiter=',')

results matching ""

    No results matching ""