present_summary_as_html

spac.visualization.present_summary_as_html(summary_dict: dict) str[source]

Build an HTML string that presents the summary information intuitively.

For each specified column, the HTML includes:
  • Column name and data type

  • Count and list of missing indices

  • Summary details presented in a table (for numeric: stats; categorical: unique values and counts)

Parameters:

summary_dict (dict) – The summary dictionary returned by summarize_dataframe.

Returns:

HTML string representing the summary.

Return type:

str