def magic():
    df_tp = make_agg_df(temppressure.get_records())
    df_th = make_agg_df(temphumid.get_records())
    df_th = df_th.rename(columns={'temp': 'bad_temp'})
    total_view = pd.concat([df_tp, df_th], axis=1)
    return total_view
def magic():
    df_tp = make_agg_df(temppressure.get_records())
    df_th = make_agg_df(temphumid.get_records())
    df_th = df_th.rename(columns={'temp': 'bad_temp'})
    total_view = pd.concat([df_tp, df_th], axis=1)
    return total_view