Analytics, Stats & Reports
Dana ships batteries-included statistics and reporting primitives with zero third-party packages:
Built-in Statistics (use Stats)
Section titled “Built-in Statistics (use Stats)”table.profile()— fast columnar summary statistics, nulls, cardinality, and quantile snapshotsStats.corr&Stats.linear_regression— Pearson correlation and OLS slope/intercept/R² directly onVmTablecolumns- Welch
t_test,chi_square, andoutliers pivot_longer,pivot_wider, andcrosstab
Standalone SVG & HTML5 Reports
Section titled “Standalone SVG & HTML5 Reports”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.
Safe Read-Only REPL (dana repl)
Section titled “Safe Read-Only REPL (dana repl)”Explore tables interactively without mutating production databases or printing raw sensitive columns:
dana repl --db Seminary=sqlite:///path/to/seminary.dbuntyped exploration supports fast iterative checks while keeping sensitive columns redacted by default.