def main(): prev_df = pd.read_csv( '../../../../../Data/Processed/features/medications/gap_analysis/mar_icu_prev_temp.csv' ) prev_df = clean_data_element_prev('medication_name', prev_df, 6550) prev_df.to_csv( '../../../../../Data/Processed/features/medications/gap_analysis/mar_icu_prev.csv' )
def main(): prev_df = pd.read_csv( '../../../../../Data/Processed/features/analytes/gap_analysis/lab_no_icu_prev_temp.csv' ) prev_df = clean_data_element_prev('component_name', prev_df, 170663) prev_df.to_csv( '../../../../../Data/Processed/features/analytes/gap_analysis/lab_no_icu_prev.csv' )
def main(): prev_df = pd.read_csv( '../../../../../Data/Processed/features/vitals/gap_analysis/flo_icu_prev_6hrs_temp.csv' ) prev_df = clean_data_element_prev('flo_meas_name', prev_df, 6550) prev_df.to_csv( '../../../../../Data/Processed/features/vitals/gap_analysis/flo_icu_prev_6hrs.csv' )
def main(): prev_df = pd.read_csv( '../../../../../Data/Processed/features/medications/gap_analysis/mar_no_icu_prev_temp.csv', encoding='cp1252') prev_df = clean_data_element_prev('medication_name', prev_df, 170663) prev_df.to_csv( '../../../../../Data/Processed/features/medications/gap_analysis/mar_no_icu_prev.csv' )