I have to import a file, which for example contains 3 rows of numbers:
1 2 3 4
1 2 3
1 2 3 4 5 6
How can I store them into a numpy.ndarray M, so that for example M[0] gives a np.array containing the first row, i.e. [1,2,3,4]?
Thanks in advance.