Skip to content

Instantly share code, notes, and snippets.

@FelixChop
Created March 24, 2020 03:46
Show Gist options
  • Save FelixChop/9ad39a3a665b3ba2595c9dbc4173e8c5 to your computer and use it in GitHub Desktop.
Save FelixChop/9ad39a3a665b3ba2595c9dbc4173e8c5 to your computer and use it in GitHub Desktop.
for column_to_delete in ['Ticket', 'Cabin', 'Name']:
del titanic[column_to_delete]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment