transform_names function

For each row, add a vector of values