Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.Advanced TutorialsBuild end-to-end workflows between two specific systems.API ReferenceCLI ReferenceRelease Notes
Version: 2.0.0

Categorizer

class
class Categorizer

Bases: Classifier, ABC

Categories: dq-classifier

Abstract base class for classifiers that assign each value to a bin.

Bin verdicts are consumed by the InBins and NotInBins criteria.

Examples

A categorizer labels each row with a bin number instead of a boolean; ScaleCategorizer is the concrete one:

ScaleCategorizer(["amount"], scale=LinearScale(0.0, 100.0, bins=4))