Skip to content

Instantly share code, notes, and snippets.

@calstad
Last active December 8, 2016 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calstad/a0ea9bbeef8d8f251279b7443728d031 to your computer and use it in GitHub Desktop.
Save calstad/a0ea9bbeef8d8f251279b7443728d031 to your computer and use it in GitHub Desktop.
df = pd.pd.read_pickle('claims.pickle')
encoded_df = pd.get_dummies(icd_df, columns=['npi', 'patient_id', 'icd_code'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment