import csv into numpy array code example Example: numpy from csv from numpy import genfromtxt my_data = genfromtxt('my_file.csv', delimiter=',')