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