We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please indicate the following details about the environment in which you found the bug:
If you create a GreaterThan constraint with columns that have null values, a ConstraintsNotMetError is raised.
GreaterThan
ConstraintsNotMetError
You can use the student_placements demo dataset to recreate this error.
student_placements
student_placements = load_tabular_demo('student_placements') gt_constraint = GreaterThan( low='start_date', high='end_date', handling_strategy='reject_sampling' ) gc = GaussianCopula(constraints=[gt_constraint]) gc.fit(student_placements)
Running the same code above after dropping all rows in student_placements where start_date is NaN causes the error to go away.
start_date
The text was updated successfully, but these errors were encountered:
NaN
katxiao
Successfully merging a pull request may close this issue.
Environment Details
Please indicate the following details about the environment in which you found the bug:
Error Description
If you create a
GreaterThan
constraint with columns that have null values, aConstraintsNotMetError
is raised.Steps to reproduce
You can use the
student_placements
demo dataset to recreate this error.Running the same code above after dropping all rows in
student_placements
wherestart_date
is NaN causes the error to go away.The text was updated successfully, but these errors were encountered: