pasteur.extras.metrics.visual.DateHist#
- class pasteur.extras.metrics.visual.DateHist(span='year', y_log=False, nullable=False, bins=20, max_len=None, **_)[source]#
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)- 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 = 'date'#
- preprocess(wrk, ref)[source]#
Preprocess is called to cache the summaries for the wrk and ref sets during ingest. Implementation is optional.
- summarize(data)#
- type: Literal['col', 'ref', 'seq'] = 'col'#