Create columns from other column

PHOTO EMBED

Fri Aug 04 2023 07:30:22 GMT+0000 (Coordinated Universal Time)

Saved by @smaran #where #npwhere

claims_data['all-rejections'] = np.where(
        (claims_data['REJECTED'] > 0) | (claims_data['SIU_Rejected'] > 0), 1, 0)
content_copyCOPY