Skip to content

Instantly share code, notes, and snippets.

@PranjalDureja0002
Created March 2, 2021 14:49
Show Gist options
  • Save PranjalDureja0002/507b1760617a1afe86538b751f4f09ce to your computer and use it in GitHub Desktop.
Save PranjalDureja0002/507b1760617a1afe86538b751f4f09ce to your computer and use it in GitHub Desktop.
fe
patient_data['PotentialFraud'] = np.where(patient_data['PotentialFraud']=='Yes',1,0)
patient_data['RenalDiseaseIndicator'] = np.where(patient_data['RenalDiseaseIndicator']=='Y',1,0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment