pasteur.extras.metrics.visual.FixedHist#

class pasteur.extras.metrics.visual.FixedHist(*args, _from_factory=False, **kwargs)[source]#

Fixed values can not be visualised. Removes warning.

Attributes

Methods

combine(summaries)

fit(table, col, data)

Fit is used to capture information about the table or column the metric will process.

get_factory(*args, **kwargs)

Returns a factory that registers this module to the system.

preprocess(wrk, ref)

Preprocess is called to cache the summaries for the wrk and ref sets during ingest.

process(wrk, ref, syn, pre)

reduce(other)

summarize(data)

visualise(data)

combine(summaries)[source]#
Return type:

Any

fit(table, col, data)[source]#

Fit is used to capture information about the table or column the metric will process. It should be used to store information such as column value names, which is common among different executions of the view.

classmethod get_factory(*args, **kwargs)#

Returns a factory that registers this module to the system.

Any *args and **kwargs passed to this function will be saved and passed to the module’s __init__() method when calling build().

name: str = 'fixed'#
preprocess(wrk, ref)#

Preprocess is called to cache the summaries for the wrk and ref sets during ingest. Implementation is optional.

Return type:

Optional[TypeVar(_INGEST)]

process(wrk, ref, syn, pre)[source]#
Return type:

Any

reduce(other)[source]#
summarize(data)#
type: Literal['col', 'ref', 'seq'] = 'col'#
visualise(data)#