InBins
classView source ↗
class InBins(
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 falls into one of the given bins.
Creates a criteria for categorical classifiers. It selects records where the value in the specified columns falls into one of the given bins.
Parameters
parameter
column_nameThe column name to check for values.
parameter
binsA 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_namestrReturns the column name to check for values.