caf.toolkit.pandas_utils.matrices#

Contains functions that perform checks and provide high level statistics.

Functions

add_matrix_sums(df)

Add a sum column and row to a dataframe containing a matrix in square format.

compare_matrices(matrix_report_a, ...[, ...])

Compare two matrix reports.

compare_matrices_and_output(excel_writer, ...)

Compare two matrix reports.

matrix_describe(matrix[, almost_zero])

Create a high level summary of a matrix.

Classes

MatrixReport(matrix, *, translation_factors, ...)

Creates a high level summary of a matrix and its trip ends.