1from numpy import genfromtxt
2my_data = genfromtxt('my_file.csv', delimiter=',')
3
1import numpy as np
2x = np.arange(0.0,5.0,1.0)
3np.savetxt('test.csv', x, delimiter=',')
1import csv
2
3results = []
4with open("input.csv") as csvfile:
5 reader = csv.reader(csvfile, quoting=csv.QUOTE_NONNUMERIC) # change contents to floats
6 for row in reader: # each row is a list
7 results.append(row)
8