Skip to content

handler

Mapping from variable types to the summary steps that describe them.

Classes

Handler

A mapping from type names to summary steps.

A type runs the steps of its parent type first (e.g. Numeric gets the counts of Unsupported before its own statistics).

Methods:

handle(dtype, config, column, summary)

The plan that summarises a column of type dtype.

Functions:

compose(functions)

Chain summary steps into one plan.

A step is called as step(config, column, summary). Generator steps are run as part of the plan (their lazy requests are batched with those of other columns). A plain function may update summary in place, return a new summary dict, or return a (config, column, summary) tuple as the pandas-era steps did.