Creating a new table column with a variable as the name

Have you tried unpacking a dictionary?

app_tables.mytable.add_row(**{product: 0})
5 Likes