tab_err.api#

Submodules#

Classes#

MidLevelConfig

Configuration of the mid_level API.

Package Contents#

class tab_err.api.MidLevelConfig#

Configuration of the mid_level API.

The mid_level API applies N pairs of (error_mechanism, error_type) to data. Consequently, the user is required to specify up to N pairs of error_mechanism, error_type per column when calling the mid_level API.

columns#

A dictionary mapping from columns to a list of `ErrorModel`s that should be applied

Type:

dict[int | str, list[ErrorModel]]

static from_dict(data: dict[str, Any]) MidLevelConfig#

Deserializes the MidLevelConfig from a dict.

to_dict() dict[str, Any]#

Serializes the MidLevelConfig to a dict.

columns: dict[int | str, list[tab_err._error_model.ErrorModel]]#