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

Scale

class
class Scale

Bases: ABC, JsonSerde

Categories: dq-classifier

Abstract base class for the scales used by ScaleCategorizer.

A scale defines how a numeric range is divided into bins. Concrete scales differ only in how the bin edges are spaced.

Examples

A scale maps a value to a bin for ScaleCategorizer:

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