Hi Beaupreda
Thank you for your reply. Actually it worked  I only couldn’t understand that  how below codes are working:
separation = int(x.shape[0] * 0.8)
train = x[:separation]
test = x[separation:]
x[separation :] ??? what is it doing?
and one more question, that why u did not make shuffle = True? was there any specific reason for that?
Thank you again,
Pedram