You can also use the method below will preprocess your data separately but similar parameter used for training data set.
norm = preprocessing.Normalizer().fit(xtrain)
then
x_train_norm = normalizernorm.transform(xtrain)
x_test_norm = normalizernorm.transform(Xtest)