{% for col in headings %} {% endfor %} {% for row in data %} {% for val in row %} {% endfor %} {% endfor %}
{{ col }}
{{ frappe.format(val) }}