Skip to content

Instantly share code, notes, and snippets.

@daradecic
Created January 4, 2021 07:51
Show Gist options
  • Save daradecic/d0c25d59792e0d20f0778aa5eb1d1ca7 to your computer and use it in GitHub Desktop.
Save daradecic/d0c25d59792e0d20f0778aa5eb1d1ca7 to your computer and use it in GitHub Desktop.
002_pr_curves
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