Where is the input column name information in a dataframe transformation?

You could do a wrapper function around fun.

fix_names(nt, src) = ... fix column names based on src... returns a new named tuple
src => (t -> fix_names(fun(t), src)) => AsTable
1 Like