def join_auxfuncs_gender(file): file = AFmeta.read_file(file) df = AFmeta.trunc_pat_ids(file) df = AFmeta.select_gender_features(df) df = AFmeta.transform_gender_nas(df) AFmeta.write_pt_gender(df)
def join_auxfuncs_race(file): file = AFmeta.read_file(file) df = AFmeta.trunc_pat_ids(file) df = AFmeta.select_race_features(df) df = AFmeta.transform_race_nas(df) AFmeta.write_pt_race(df)
def join_auxfuncs_country(file): file = AFmeta.read_file(file) df = AFmeta.trunc_pat_ids(file) df = AFmeta.select_country_features(df) df = AFmeta.transform_country_nas(df) AFmeta.write_pt_country(df)