The following code snippet illustrates the issue:
from sklearn.decomposition import PCA from sklearn.preprocessing import StandardScaler import numpy as np (nrow