Skip to content

Instantly share code, notes, and snippets.

@betterdatascience
Created December 8, 2020 08:05
Show Gist options
  • Select an option

  • Save betterdatascience/e45d6bfca948e6ed04dd42f17c3b2f7f to your computer and use it in GitHub Desktop.

Select an option

Save betterdatascience/e45d6bfca948e6ed04dd42f17c3b2f7f to your computer and use it in GitHub Desktop.
002_roc_auc
df['quality'] = ['Good' if quality >= 7 else 'Bad' for quality in df['quality']]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment