Add columns to DataFrame

df[!, colname] = p should work (without the : before colname).

4 Likes