res_time(df)
[res_time][res_tafd][res_tad][res_pred][res_cont]This function is also vectorized in x.
[res_cat][res_hist][wres_time][wres_tafd][wres_tad][wres_pred][wres_cont]This function is also vectorized in x.
[wres_cat][wres_hist][wres_q][cwres_time][cwres_tafd][cwres_tad][cwres_cont]Vectorized version
[cwres_cat]Vectorized version
[cwres_hist][cwres_pred][cwres_q]