X_pca = pca.fit_transform(X) print (X.shape) print (X_pca.shape)