Skip to content

Instantly share code, notes, and snippets.

@PranjalDureja0002
Created March 15, 2021 09:46
Show Gist options
  • Save PranjalDureja0002/313f25ee269ae2b0c20caec50cfb5048 to your computer and use it in GitHub Desktop.
Save PranjalDureja0002/313f25ee269ae2b0c20caec50cfb5048 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