{% macro viz_html(viz) %} {% if viz.args.get("async") == "true" %} {% set df = viz.get_df() %} {% for col in df.columns if not col.endswith('__perc') %} {% endfor %} {% for row in df.to_dict(orient="records") %} {% for col in df.columns if not col.endswith('__perc') %} {% if col + '__perc' in df.columns %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ col }}
{{ row[col] }} {{ row[col] }}
{% else %} {% endif %} {% endmacro %} {% macro viz_js(viz) %} {% if viz.args.get("async") != "true" %} {% endif %} {% endmacro %} {% macro viz_css(viz) %} {% endmacro %}