Data Science, Python, Machine Learning, Dimensionality Reduction.
the class to the category data type, which includes both text and numeric representations of categorical variables. Furthermore, we use the StandardScaler() class, that helps us standardize the features by removing the mean and scaling to unit variance. It is necessary to apply scaling, because PCA