Variables

Numeric

{% if numeric %} {% for col, info in numeric.items() %}

{{ col }}

  • count: {{ info.describe.get('count') }}
  • mean: {{ info.describe.get('mean') }}
  • std: {{ info.describe.get('std') }}
  • min: {{ info.describe.get('min') }}, 1%: {{ info.describe.get('1%') }}, 5%: {{ info.describe.get('5%') }}
  • 25%: {{ info.describe.get('25%') }}, 50%: {{ info.describe.get('50%') }}, 75%: {{ info.describe.get('75%') }}
  • 95%: {{ info.describe.get('95%') }}, 99%: {{ info.describe.get('99%') }}, max: {{ info.describe.get('max') }}
  • IQR outliers (1.5×IQR rule): {{ info.iqr_outliers }}
  • Missing: {{ info.n_missing }}
{% endfor %} {% else %}

No numeric columns detected.

{% endif %}

Categorical

{% if categorical %} {% for col, info in categorical.items() %}

{{ col }}

Unique: {{ info.n_unique }}, Rare (<1% or <2 rows): {{ info.rare_below_threshold }}, Missing: {{ info.n_missing }}

    {% for val, cnt in info.top_values.items() %}
  • {{ val }}: {{ cnt }}
  • {% endfor %}
{% endfor %} {% else %}

No categorical columns detected.

{% endif %}

Datetime

{% if dt %} {% for col, info in dt.items() %}

{{ col }}

  • Min: {{ info.min }}
  • Max: {{ info.max }}
  • Missing: {{ info.n_missing }}
  • Estimated frequency: {{ info.frequency }}
{% endfor %} {% else %}

No datetime columns detected.

{% endif %}
{% if numeric_figs %}

Numeric distributions (Plotly)

{% for fig in numeric_figs %}

{{ fig.col }}

{{ fig.div | safe }}
{% endfor %}
{% endif %} {% if categorical_figs %}

Top categories (Plotly)

{% for fig in categorical_figs %}

{{ fig.col }}

{{ fig.div | safe }}
{% endfor %}
{% endif %}