Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wibowotangara/af1700d61ccc2176b87623aa15e25811 to your computer and use it in GitHub Desktop.
Save wibowotangara/af1700d61ccc2176b87623aa15e25811 to your computer and use it in GitHub Desktop.
df['loan_label'] = np.select(conditions, values, default='Unknown')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment