pca Import from pca import PCA To Use in Applications PCA(dataframe, components) dataframe - Data frame for the Dataset that you have components - The Dimension of the data, that you need to lower