{% for idx, row in top_slow_sql -%} | {{idx+1}} | {{ (row['query']).replace('\n', ' ') }} | {{ row['avg_du'] }} | {% endfor %}