<human>:  Pythonic way to populate numpy array
<bot>: 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.