Report descriptive statistics for the numeric/logical variables of df.
The table reflects the panel structure of the data. When a time column is known (declared via :func:expdpy.set_panel / :func:expdpy.set_labels, or passed explicitly), each statistic is shown by period — by default at the first and last period — under a spanning column header (e.g. Mean over 2015 and 2025). Without a time dimension the table falls back to a single column per statistic. Rows are labelled from the data dictionary when available, and the number of observations and any variable with missing data are reported in the notes beneath the table.
Statistics to display, in order, chosen from N, Mean, Std. dev., Min., 25 %, Median, 75 %, Max.. Defaults to Mean, Std. dev., Median, Min., Max.. (The returned .df always carries all eight statistics regardless of this selection.)
Number of decimals for the displayed statistics: a single int applied to all, or a {statistic: decimals} mapping for per-statistic overrides (N is always shown as an integer).
Periods to show as sub-columns in the by-period layout. None (default) shows the first and last period; otherwise the listed period values (those not present are dropped with a warning). Ignored when no time dimension is summarized.
Optional panel identifiers (defaulting to those declared via :func:expdpy.set_panel). A resolved time drives the by-period layout; when both resolve, a note also reports the panel dimensions. For the within/between split of each variable see :func:expdpy.explore_xtsum_table.
Optional panel identifiers (defaulting to those declared via :func:expdpy.set_panel). A resolved time drives the by-period layout; when both resolve, a note also reports the panel dimensions. For the within/between split of each variable see :func:expdpy.explore_xtsum_table.