human
Pythonic way to populate numpy array
assistant
Here is some code to create 2D numpy array from the data provided in 'somefile.csv' with each row in the file having same number of values

X = numpy.loadtxt('somefile.csv', delimiter=',')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.