Skip to content

Instantly share code, notes, and snippets.

@MattMcMurray
Last active November 10, 2017 18:11
Show Gist options
  • Save MattMcMurray/0b34afa17dd1362d2ad6244c207ab404 to your computer and use it in GitHub Desktop.
Save MattMcMurray/0b34afa17dd1362d2ad6244c207ab404 to your computer and use it in GitHub Desktop.
appt_data['No-show'] = pd.Series(np.where(appt_data['No-show'].values == 'Yes', 1, 0),
appt_data.index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment