{% for c in columns %} {% if c.type in ['integer', 'float'] %} {% elif c.type == 'boolean' %} {% else %} {% endif %} {% endfor %} {% for r in rows %} {% for c in columns %} {% if r[loop.index0] == None %} {% elif c.type in ['integer', 'float'] %} {% elif c.type == 'datetime' %} {% elif c.type == 'boolean' %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ c.name }}{{ c.name }}{{ c.name }}
{{ r[loop.index0] }}{{ r[loop.index0].strftime('%Y-%m-%d %H:%M:%S') }}{{ r[loop.index0] }}