Data Science, Factor Analysis, Data, Machine Learning, Statistics.
axis=1) correlation = combined_df.corr() # This matrix will have the correlation between: # 1. feature vs features # 2. feature vs principal component # 3. principal component vs principal component # We're removing part of the output to keep only the correlation between features and principal