cycquery.ops.ConditionLikeΒΆ
- class ConditionLike(col, pattern, not_=False, binarize_col=None)[source]ΒΆ
Bases:
QueryOp
Filter rows by a LIKE condition.
- Parameters:
Examples
>>> ConditionLike("lab_name", "HbA1c")(table) >>> ConditionLike("lab_name", "HbA1c", not_=True)(table) >>> ConditionLike("lab_name", "HbA1c", binarize_col="lab_name_bool")(table)
Methods