def applySamplerDF(df_old, x_col, sampDict):
    x_old = df_old[x_col].values
    (x_new, df_new) = applySampler(x_old, y_old=None, sampDict=sampDict, df_old=df_old)
    df_new[x_col] = x_new
    return df_new
def applySamplerDF(df_old, x_col, sampDict):
    x_old = df_old[x_col].values
    (x_new, df_new) = applySampler(x_old, y_old=None, sampDict=sampDict, df_old=df_old)
    df_new[x_col] = x_new
    return df_new