Skip to content

New Check: Completeness Ratio #17

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

Closed
flitzpiepe93 opened this issue May 4, 2025 · 1 comment
Closed

New Check: Completeness Ratio #17

flitzpiepe93 opened this issue May 4, 2025 · 1 comment
Labels
enhancement New feature or request feature request

Comments

@flitzpiepe93
Copy link
Contributor

New Check: Completeness Ratio

Description

Create a check to validate that a minimum percentage of values in a column are non-null.

Example Usage

CompletenessRatioCheckConfig(
    check_id="pickup-time-mostly-complete",
    column="tpep_pickup_datetime",
    min_ratio=0.95
)

Expected Behavior

  • Validates that the ratio of non-null values is above the given threshold
  • Fails the check if the actual completeness ratio is below the threshold
  • Should optionally return failed rows or summary only

Benefits

  • Detects low-quality columns
  • Enables soft thresholds instead of binary null checks
@flitzpiepe93
Copy link
Contributor Author

Issue solved with the following MR: #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request
Projects
None yet
Development

No branches or pull requests

1 participant