ContrastTables

class passengersim.contrast.ContrastTables(contrast: Contrast)[source]

Bases: object

Attribute-style access to summary tables concatenated across a Contrast.

Accessing contrast.tables.<name> is equivalent to contrast.concat("<name>"): the named table is pulled from every source and concatenated, with a "source" level prepended to the index. The result is recomputed on every access. To skip sources that lack the table, call Contrast.concat() directly with missing="skip" or missing="warn".

Parameters:
contrast : Contrast

The contrast whose tables are accessed.

Methods

__init__(contrast)