I wonder if there is a direct way to import the contents of a CSV file into a record array, much in the way that R\'s read.table(), read.delim(), a
read.table()
read.delim()
You can use Numpy's genfromtxt() method to do so, by setting the delimiter kwarg to a comma.
genfromtxt()
delimiter
from numpy import genfromtxt my_data = genfromtxt('my_file.csv', delimiter=',')
More information on the function can be found at its respective documentation.