def var_transform( ): # for transform whole df passed, not the one with summary Tf = Transform(idx, df, par_fpath) Tf.main_method(outpath)