Comparison#

MemberKindWhat it is
tablepropertyThe headline scores of the runs side by side, from headline_table.
to_dictmethodReturn the comparison as JSON: the runs, the dates, the tables and the series.
writemethodWrite the tables, the figures and the README into *out*, and return the README.
class Comparison(runs, start, end, tables, series, maps)[source]#

The tables of one comparison and the data of its figures.

to_dict()[source]#

Return the comparison as JSON: the runs, the dates, the tables and the series.

Each table and each series is a list of records. A map is not carried, only the variable and the date it is drawn at.

write(out)[source]#

Write the tables, the figures and the README into out, and return the README.

end: Timestamp#
maps: dict[str, tuple[Timestamp, list[ndarray]]]#
runs: Sequence[Run]#
series: dict[tuple[str, str], DataFrame]#
start: Timestamp#
property table: DataFrame[source]#

The headline scores of the runs side by side, from headline_table().

tables: dict[str, DataFrame]#