| {{ col.replace('_', ' ').title() }} | {% endfor %}
|---|
| {% if col == 'Date' %}Total{% else %}{{ "{:,}".format(data|sum(attribute='1.' + col)) }}{% endif %} | {% endfor %}
| {% if col == 'Date' %}{{ row[col] }}{% else %}{{ "{:,}".format(row[col]) }}{% endif %} | {% endfor %}