I am trying to import big csv files which contain both string and numeric matrix of data into Arrays/matrices in Python. In MATLAB I used to load the file and simply assign
You can use the built-in csv module to load your data to a multidimensional list:
import csv with open('data.csv', 'rb') as f: reader = csv.reader(f) data_as_list = list(reader) print data_as_list # [['data1', 1], # ['data2', 2], # ['data3', 3]]