atoti.Measure.isin()#
- Measure.isin(*values: bool | int | float | date | datetime | time | Sequence[bool] | Sequence[int] | Sequence[float] | Sequence[str] | str) Condition[MeasureIdentifier, Literal['isin'], Constant, None] #
- Measure.isin(*values: bool | int | float | date | datetime | time | Sequence[bool] | Sequence[int] | Sequence[float] | Sequence[str] | str | None) Condition[MeasureIdentifier, 'isin', Constant | None, None]
Return a condition to check that the measure is equal to one of the given values.
measure.isin(a, b)
is equivalent to(measure == a) | (measure == b)
.- Parameters:
values – One or more values that the measure should equal to.