Machine Learning, Exploratory Data Analysis.
pd.DataFrame(ugriz)), axis=1) sdss_df_fe.rename({0: 'PCA_1', 1: 'PCA_2', 2: 'PCA_3'}, axis=1, inplace = True) sdss_df_fe.drop(['u', 'g', 'r', 'i', 'z'], axis=1, inplace=True) sdss_df_fe.head() Output: Machine Learning Models — Training Feature scaling scaler = MinMaxScaler() sdss =