Tabalyst Insights
Tabalyst Insights writes a set of web pages to explore the columns of a file one by one: a main page with the table of every column, and a page for each column. It reads the file twice, always: the scan, then the second pass that counts exactly what the scan could only estimate.
tabalyst insights customers.csvAnalyzed 3,000 rows and 34 columns.Insights: D:\work\customers.insights.htmlSecond pass (forced): 160 analyses, 160 computed, 0 reused.This writes, beside the source:
customers.insights.htmlcustomers.insights.jsoncustomers.insights/col-01-filiale.htmlcustomers.insights/col-02-id-client.html...executions.jsonOpen customers.insights.html in a browser. Everything runs on your computer and
the pages read without a network connection; only the interactive charts need one
to load their library (every figure stays in an accessible table underneath).
Tabalyst Insights provides dedicated column dashboards across numeric, date, category, text, and identifier columns, with charts and full tables built from the JSON profile.
The main page
Section titled “The main page”The main page shows the Columns table of the report, the same one: for each column, its missing values, distinct values, inferred type, type, type errors, issues and examples. Filter the columns by name, show only those with quality issues or with observations, sort and filter each heading. Each column name links to its page.
A JSON file with several datasets has a dataset selector, as the report does.
The page of a column
Section titled “The page of a column”The page of a column starts with its name, its position, its path and its type, read in one sentence, then the number of errors and issues found. Its Summary gives:
- the analyzable values, the missing values and the exact distinct count;
- the median and the range of a numeric column;
- the findings, by kind: errors, issues and remarks;
- the type Tabalyst reads, with its traits and the types it could also be;
- for an identifier, whether each value is unique once the copied rows are set apart.
A numeric column adds five sections, each with its charts and, under them, the tables that hold every figure (the pages read without a network connection, but the charts need it, see below):
- Key figures: the total, the mean and the median, the quartiles, the outliers above 1.5 times the interquartile range, the completeness and the distinct values.
- Distribution: the histogram by equal widths, by equal ratios (logarithmic, for positive numbers) and by equal counts, with the cumulative curve and the median, the mean and the quartiles marked. Counts per class are exact.
- By category: the mean, the median, the total or the count of the numbers for each
value of the categories that explain them best, and how the numbers spread inside each
value. Up to 20 values, each has a color, the same on both charts; beyond, the bars
are one color and the spread is drawn for the 20 largest values
(
insights.charts). The legend stays when it fits on one line; otherwise Legend opens it in a box you can move. Hovering a bar or a legend entry brings out its curve; clicking one hides or shows the curve, and the bars of a hidden curve fade. The titles name the columns and the measure shown. A category with up to 100 values, such as a city or a probability from 0 to 100, has a bar for every value, a numeric one in order; a category with more values shows its 30 most frequent values andother. When the names of the bars do not all fit, they are hidden: narrow the slider under the chart until they show, or hover a bar to read its name. The bars come in the order of the names or values; Largest first sorts them by the measure shown, the mean for Mean and median. The spread of a number with few values, such as a rating from 3.0 to 5.0, is drawn value by value. It shows an association, not a cause. - By date: the total, the mean or the count of the numbers for each month, year, day of the week and hour of each date column of the file, with a table for each.
- Detailed tables: every class of every histogram.
A category column (text, with few distinct values) adds:
- By category (when crossed with numeric columns): for each numeric column, the mean, the median, the total or the count of its numbers for every value of the category, and how much of its variance the category explains. A numeric column with few values, such as a memory size, is both: its page has the five numeric sections, then As a category.
- Over time (when crossed with date columns): exact record counts per period for each value of the category, as lines or stacked bars, with Cramér’s V association and a table per date column.
A date column adds:
- Over time: how many dates fall in each day, month or year, the first and last dates, a chart that can also draw the other date columns of the file, and how many records have both the date and each numeric column.
- Numbers over time (when crossed with numeric columns): the total, the mean or the count of each numeric column of the file for each month, year, day of the week and hour of the date, with a table for each.
- Over time by category (when crossed with category columns): exact record counts per period for each category, as lines or stacked bars, with Cramér’s V association and a table per category column.
- Elapsed durations (when paired with another date column of the same kind): the
distribution of
second − firstin days or seconds, negative/zero/positive shares, mean, median, range, quantiles and histogram.
A text column (text, contact, geographic, web/network, or other non-numeric column that is not solely a category) adds up to six sections:
- Text overview: total and distinct values, string lengths (min, max, mean, median), and word/line/digit or fingerprint uniqueness indicators when computed.
- Lengths & patterns: string length histogram (with log scale when useful) and structural pattern coverage (occurrences and distinct counts), backed by complete tables.
- Text composition: word, line and digit-share buckets for long text alongside Unicode script/category shares and frequent characters.
- Values & residuals: most frequent values, repeated values or long-text digests
(
fingerprint_distinct), and values left out by inferred patterns or closed detectors. - Sensitive forms (under
maskexposure only): validated shape masks and closed detector classes without exposing raw values. Underhideexposure, text sections are omitted. - Category cross-tabs: cross-tabulations against non-hidden category columns, ranked by corrected Cramér’s V.
An identifier column adds up to three sections:
- Uniqueness: exact record and identifier decomposition (
Source records,Distinct IDs,Explained by duplicate rows,Residual repetitions,Missing IDs), the near-unique reading and tolerance comparison when repetitions occur between distinct records, and proof/source diagnostics (identifier_uniqueness). Undermaskorhide, only integer counts and status codes remain visible. - Duplicates: dataset whole-row copies (
duplicate_rows_count) and repeated identifier values (values withheld undermaskand omitted underhide). - Structure & forms: length distribution, patterns, residuals and category cross-tabs when
exposed, or validated
sensitive_formsalone undermask(omitted underhide).
A slider under a chart selects a range of it: a part of the histogram, of the distribution inside the categories, of a list of categories too long for their names or of a long list of periods. The mouse wheel over the chart zooms as well. Log scale draws the bars by category or by date on a logarithmic axis, so that a total ten times larger than the others leaves the rest readable; a figure of 0 or below has no bar there, and keeps its row in the table. The distribution inside the categories follows the same choices: the share of each category (for Mean and median), the number of values or the total in each class, estimated from the middle of the class when it holds several values. In the view by year, a click on a year opens the view by month on the twelve months of that year.
The charts load Apache ECharts from a CDN, pinned to one version and checked by its hash; no data of the file leaves the page. Without the library, the tables stay.
Links lead to the previous column, the next one and back to all the columns.
The profile
Section titled “The profile”customers.insights.json is the JSON profile that
tabalyst report --deep writes for the same file: the same format, with the results
of the second pass in analyses. The pages read it alone, never the source. It can
hold more pairs of columns than the report, because Insights lists more of them (see
below).
Insights and the report write files with different names, so both can stand beside
the same source: customers.html and customers.json belong to
tabalyst report.
The second pass
Section titled “The second pass”Insights always runs the second pass, as tabalyst report --deep does. When it is
costly (several minutes, or more memory than the budget), Insights shows the estimate
and asks first; --yes starts it without asking, and outside a terminal a costly
pass stops with exit code 3 unless --yes is given. A configuration that sets
deep.mode to off is an error.
Insights lists up to 200 pairs of a category and a number (the report lists 20) and up
to 200 pairs of a date and a number (40), so that every page shows the columns that
explain it. It also keeps the pairs that show no link on the sample the plan reads
first, after the others: a column of many values, such as a city, can show none on a
few hundred rows and still explain a share of the numbers of the whole file. The insights object of the
configuration changes these budgets.
The report and Insights of a file share the results of the second pass: the one that
runs second reads again only the pairs the first did not compute.
Other files
Section titled “Other files”tabalyst insights orders.jsontabalyst insights shop.xlsx --collection Coststabalyst insights shop.xlsx --all-collectionstabalyst insights data/*.csv -d insightsA JSON, JSONL or Excel file writes <name>.insights.html too; --all-collections
writes <name>.<collection>.insights.html for every visible collection. Every option
is in the command reference, and
tabalyst.generate_insights() does the same from Python.