Skip to content

Instantly share code, notes, and snippets.

@gabriel19913
Created November 30, 2019 17:39
Show Gist options
  • Save gabriel19913/f99494064e6e4ac134d237622aa7a820 to your computer and use it in GitHub Desktop.
Save gabriel19913/f99494064e6e4ac134d237622aa7a820 to your computer and use it in GitHub Desktop.
teams = df_bra_2019['team']
teams_df = pd.DataFrame(teams)
X_bra_2019 = df_bra_2019.drop(['team'], axis=1)
scaled_X_bra_2019 = scaler.fit_transform(X_bra_2019)
pca_X_bra_2019 = pca.transform(scaled_X_bra_2019)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment