Skip to content

missing

Missing-value diagrams: counts, matrix and nullity correlation.

Classes

Functions:

missing_bar(config, df, n_rows, variables)

Non-missing values per column (from the column descriptions).

missing_matrix(config, df, n_rows, variables)

Share of non-missing values per column in horizontal bands of rows.

The rows are split into at most MAX_MATRIX_BANDS bands and the shares are computed with one lazy group-by, so only a small matrix is collected.

missing_heatmap(config, df, n_rows, variables)

Nullity correlation between the partially missing columns.

get_missing_active(config, table_stats)

The missing-value diagrams to draw, given the table statistics.

get_missing_diagram(config, df, n_rows, variables, settings)

Draw one missing-value diagram.

Returns: The diagram's name, caption and rendered chart, or None if it failed.