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

Question: How to validate if all value in column are unique? #34

Closed kevalkothari closed 3 years ago

kevalkothari commented 4 years ago

Also is it possible to validate combination of two field value as unique ?

multimeric commented 4 years ago

How to validate if all value in column are unique

Use IsDistinctValidation

Also is it possible to validate combination of two field value as unique ?

Currently, no, because the current release only supports per-Series validations. In the new major version this should be possible. I'll update this issue when it's released.

multimeric commented 3 years ago

Closing in favour of the more general #57 that I just opened.