Skip to main content

This library is used for Data Quality

Project description

Data Quality

This project provides a Data Quality Rule (DQR) enabler class for validating and reporting data quality metrics using Apache Spark and Jinja2. It allows users to perform various checks on a DataFrame, such as checking for null values, duplicates, uniqueness, range constraints, and values within a specific list. The results can be saved as an HTML report for easy review and sharing.

Features

  • Schema Validation : Compare the DataFrame's schema with an expected schema.
  • Null Value Check : Identify the percentage of null values in specified columns.
  • Duplicate Check : Find duplicate rows based on one or more columns.
  • Uniqueness Check : Measure the uniqueness of values in specified columns.
  • Range Check : Ensure column values fall within a defined range.
  • Value Set Check : Verify if column values exist within a predefined list.
  • HTML Report Generation : Automatically generate an HTML report summarizing all checks with visual tables.

Installation

You can install the library using pip:

pip install dataquality_rules

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataquality_rules-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dataquality_rules-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file dataquality_rules-0.1.0.tar.gz.

File metadata

  • Download URL: dataquality_rules-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for dataquality_rules-0.1.0.tar.gz
Algorithm Hash digest
SHA256 115554cf26bfe4f5e77de544448518903cf9e1feec0657a30b23001a5c77c217
MD5 f26e7da8805cda79819c16efec580fb5
BLAKE2b-256 76380dff8229f40a937850d7769847c1f8eef7f23e88c71d049f670a331c9fdc

See more details on using hashes here.

File details

Details for the file dataquality_rules-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dataquality_rules-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77f40650fd95809423146ae92c01d37e2699c0608830a10fc4d03578ad32953e
MD5 0d697f493d09fe9d0369bb5b229ef954
BLAKE2b-256 5a9d639fa46b86cb5b5d96a195aecac21af2ac54aab94f6538ee457cf44d5101

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page