Created
March 15, 2021 09:45
-
-
Save PranjalDureja0002/63887aa7078fcce2085e225270bec20e to your computer and use it in GitHub Desktop.
fe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patient_data['is_primary'] = np.where(patient_data['AttendingPhysician'].notnull(),1,0) | |
patient_data['is_secondary'] = np.where(patient_data['OperatingPhysician'].notnull(),1,0) | |
patient_data['is_tertiary'] = np.where(patient_data['OtherPhysician'].notnull(),1,0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment