PandasSchema icon indicating copy to clipboard operation
PandasSchema copied to clipboard

Is there a way to compare date field?

Open Abhisek1994Roy opened this issue 4 years ago • 1 comments

Is there a way to compare date field? Like say, for a column that is of time DateTime, I want to check that all dates are greater than 15/12/2020.

Abhisek1994Roy avatar Jan 20 '21 09:01 Abhisek1994Roy

Not by default, no. But it should be a fairly trivial CustomSeriesValidation (see docs). Plus, I would love a PR for a built-in InDateRange or similar. Possibly even make the InRangeValidation work on multiple different types.

multimeric avatar Jan 21 '21 06:01 multimeric