python import csv as nparray code example Example: numpy from csv from numpy import genfromtxt my_data = genfromtxt('my_file.csv', delimiter=',')