Skip to content

Analytics, Stats & Reports

Dana ships batteries-included statistics and reporting primitives with zero third-party packages:

  • table.profile() — fast columnar summary statistics, nulls, cardinality, and quantile snapshots
  • Stats.corr & Stats.linear_regression — Pearson correlation and OLS slope/intercept/R² directly on VmTable columns
  • Welch t_test, chi_square, and outliers
  • pivot_longer, pivot_wider, and crosstab

Generate terminal charts or self-contained HTML5/Markdown reports with embedded inline <svg> scatter plots, OLS trendlines, and zone summaries—still protected by Dana’s compile-time sensitivity gates so no tagged [pii]/[ferpa] column can enter a public report unredacted.

Explore tables interactively without mutating production databases or printing raw sensitive columns:

Terminal window
dana repl --db Seminary=sqlite:///path/to/seminary.db

untyped exploration supports fast iterative checks while keeping sensitive columns redacted by default.