Profiling API

Create profiles from polars dataframes or parquet files, inspect cached summaries, and reuse individual outputs in reports.

Start with ps.profile(). Prefer named methods such as p.frequency() over generic string-based dispatch.

API Description
profile Create an automatically profiled polars DataFrame/LazyFrame/parquet file
profile_from_spec Recompute a parquet profile from a previously saved JSON recipe
Profile Defer evaluation and reuse aggregate summaries across profile sections
ProfileOptions Options for low-cost univariate profiling and offline HTML output
VariableProfile A cached table and optional static figure for a selected column
Profile.overview Return one-row dataset counts and overall null percentage
Profile.inventory Column inventory with semantic type, label and null percentage
Profile.missingness Return per-column null counts and percentages as a polars table
Profile.alerts Return descriptive data-quality alerts for the selected variables
Profile.variable Return a cached summary and optional chart for one variable
Profile.item Get one cached reusable component without building a full profile
Profile.variable_items Retrieve the default reusable components for one variable
Profile.summary Return the reusable descriptive table for one variable
Profile.frequency Return category counts, including for discrete numeric variables
Profile.histogram Return a numeric histogram as a reusable chart component
Profile.distribution Return the default static distribution chart for a variable
Profile.timeline Return a Date/Datetime timeline as a reusable chart component
Profile.text_length Return a text-length distribution chart
Profile.category_diagnostics Return rare-category and dominance statistics for one variable
Profile.outliers Return an IQR outlier-count table for a numeric variable
Profile.missingness_chart Return the aggregate missingness chart for selected variables
Profile.missingness_patterns Return bounded combinations of null indicators across variables
Profile.missingness_associations Return pairwise phi coefficients between null indicators
Profile.missingness_associations_chart Return a static heatmap of missingness phi coefficients
Profile.uniqueness Return approximate distinct counts for selected variables
Profile.duplicates Return opt-in exact duplicate-row counts for the source
Profile.items All profile components, in deterministic display order
Profile.show Preview one variable, or the whole profile when name is omitted
Profile.explore Open the optional notebook explorer or return its controller
Profile.to_report Group automatic profiling outputs into navigable sections
Profile.to_html Render the complete static profile as a standalone HTML string
Profile.write_html Write a standalone, print-friendly HTML profile
Profile.to_spec Serializable recomputable specification for a parquet profile
Profile.write_spec Save a JSON recipe; file paths are relative to the spec directory
Profile.refresh Build a new profile snapshot with empty calculation caches
VariableProfile.report_items Reusable summary and distribution components for this variable
VariableProfile.chart Build a static chart only when requested, then reuse it
VariableProfile.show Preview this variable in a notebook or a local browser