cycquery.ops.ConditionAfterDateΒΆ
- class ConditionAfterDate(timestamp_col, timestamp, not_=False, binarize_col=None)[source]ΒΆ
Bases:
QueryOp
Filter rows based on a timestamp being after some date.
- Parameters:
Examples
>>> ConditionAfterDate("col1", "2020-01-01")(table) >>> ConditionAfterDate("col1", datetime.datetime(2020, 1, 1))(table) >>> ConditionAfterDate("col1", "2020-01-01", binarize_col="col1_bool")(table)
Methods