I believe you need 'list comprehensions'. I am not good at this myself, but you might like to try something like this to get you going...
TABLE(*[TR(row.as_dict().values()) for row in rows]) This may not be the best way! Please let me know whether it works or if you find a better idea. -D