Data Science, Factor Analysis, Data, Machine Learning, Statistics.
components. import pandas as pd from statsmodels.multivariate.pca import PCA # Load dataset dataset = pd.read_csv('src/dataset.csv') pca = PCA(dataset, standardize=True, method='eig') eigen_values = pd.DataFrame(data=pca.eigenvals.values, columns=['eigenvalue']) print(eigen_values) Explained