Skip to main content
Version: 1.8.0

NotInBins

class NotInBins(
column_name: str,
bins: Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0), Le(le=100)])] | Literal['none', 'nan', 'underflow', 'overflow'] | Annotated[list[Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0), Le(le=100)])] | Literal['none', 'nan', 'underflow', 'overflow']], <class 'Strict'>],
)

Bases: CategoryCriteria

Categories: dq-operator

A category criteria that selects records where the value in the specified columns does not fall into any of the given bins.

Creates a criteria for categorical classifiers. It selects records where the value in the specified columns does not fall into any of the given bins.

Parameters

parameter
column_name

The column name to check for values.

parameter
bins

A single bin or a list of bins.

Properties

property
binsAbstractSet[Annotated[int, Strict(strict=True), FieldInfo(annotation=NoneType, required=True, metadata=[Ge(ge=0), Le(le=100)])] | Literal['none', 'nan', 'underflow', 'overflow']]

Returns a set of bins.

property
column_namestr

Returns the column name to check for values.