I have a dataframe object df which contains a text column target_col. I wrote a function to add a column vec_col which will contain a
df
target_col
vec_col