-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinct across multiple columns #38
Comments
Unfortunately not, the design of But who knows when that will be released., because it's been hard to find the time to finish it. |
Great this is already in the works! But then I already have a feature request for it to work on a subset of columns 😇 . Seems like the current implementation does not support this right? If you want (and if I have time, not too soon), I could start a PR for this |
The current (and future) releases support this: https://tmiguelt.github.io/PandasSchema/#pandas_schema.schema.Schema.validate |
Ah I see. Just to be sure I understand: I then would use Feel free to close the issue (either now or with the new release). Thanks for all your help 👍 |
Right, so you want unique rows but across a subset of the columns. I don't think you can currently do that in the future release but I'll look into it. |
I'll keep the issue open since it's still not solved in a release. |
Closing in favour of the more general #57 that I just opened. |
I am not sure if this is supported currently, or how to implement it as custom validator.
I want distinct values across two columns, so that this is okay:
But this is not:
The text was updated successfully, but these errors were encountered: