cycquery.ops.ConditionRegexMatchΒΆ
- class ConditionRegexMatch(col, regex, not_=False, binarize_col=None)[source]ΒΆ
Bases:
QueryOp
Filter rows based on matching a regular expression.
- Parameters:
Examples
>>> ConditionRegexMatch("col1", ".*")(table) >>> ConditionRegexMatch("col1", ".*", binarize_col="col1_bool")(table)
Methods