I need to read a file that has a structure like:
1 2 3 4 5
6 7 8 9 10
11 22
13 14 15 16 17
18 19 20 21 22
23 24
I need to read this file in a single array = [ 1,2,3, ... , 23, 24]
How to do that in numpy ?? Usin:
Array = np.genfromtxt(pathToFile, dtype=float, skip_header=1, comments='/')
Didn't work:
Line #796537 (got 2 columns instead of 5)