These is three lines of a matrix:
16 disk 11 10.29 4.63 30.22
79 table 11 20.49 60.60 20.22
17 disk 11 22.17 0.71 10.37
I want to add each three lines in one row and i want to ignore string column. So the result of the first row on new matrix should be this:
16 11 10.29 4.63 30.22 79 11 20.49 60.60 20.22 17 11 22.17 0.71 10.37
What i did for these 3 lines:
y=[]
for i in range (3):
y=append(y, X[i,0:0 and 2:])
But it doesn't work. Could you please guide me?