multimeric / PandasSchema

A validation library for Pandas data frames using user-friendly schemas
https://multimeric.github.io/PandasSchema/
GNU General Public License v3.0
189 stars 35 forks source link

Compare two fields in a row? #68

Closed riazkarim closed 2 years ago

riazkarim commented 2 years ago

E.g. if there are two date fields, Start & End, how can I check to see that End > Start?

I've started extending my own _SeriesValidator, but that only receives the series of the column that it is being applied to, and doesn't appear to have access to the other column.

multimeric commented 2 years ago

This falls under #57, which is currently not implemented.