Skip to content

Instantly share code, notes, and snippets.

@tommydangerous
Created June 11, 2021 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommydangerous/66594018aa440f1dd96ec9456daa8ff6 to your computer and use it in GitHub Desktop.
Save tommydangerous/66594018aa440f1dd96ec9456daa8ff6 to your computer and use it in GitHub Desktop.
select_features.py
features_to_use = [
'Age',
'SibSp',
'Parch',
'Fare',
'can_vote',
] + new_column_names
X_train = df[features_to_use].copy()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment