It drives me crazy, but I can't figure it out I have a data matrix of (10000,4)
I need to select some rows where the elements of column 0
ind1=np.where( (data[:,0]>55) & (data[:,0]<65) )
I want to keep that data only so
keep_data=data[ind1,:]
But keep_data is now (1,10000,4)
Why is that?
P.S. What i do is th efollwing
keep_data=np.reshape(keep_data,(keep_data.shape[1],keep_data.shape[2]))