Skip to main content

library of functions for managing and improving data quality in Datasets

Project description

Data-Quality-Kit

Functional Description

A library of functions for managing and improving data quality in Datasets

Owner

For any bugs or questions, please reach out to Dante Pedrozo

Branching Methodology

This project follows a Git Flow simplified branching methodology

  • Master Branch: production code
  • Develop Branch: main integration branch for ongoing development. Features and fixes are merged into this branch before reaching master
  • Feature Branch: created from develop branch to work on new features

Prerequisites

This project uses:

  • Language: Python 3.10
  • Libraries:
    • pandas
    • pytest
    • assertpy

How to use it

Install the library

pip install data-quality-kit
from data_quality_quick.validate_formats import check_type_format

Functionalities

  • Completeness
    • assert_that_dataframe_is_empty: Check if a DataFrame is empty.
  • Validity
    • assert_that_there_are_not_nulls: Checks for null values in a specified column of a DataFrame.
    • assert_regex_format: Validates whether all values in the specified column of a DataFrame match the format defined by the provided regular expression, including null and empty values.
  • Consistency
    • assert_that_there_are_not_duplicates: Checks for duplicate values in the specified primary key column of a DataFrame.
    • assert_that_columns_values_match : Check if all values in column2 of df2 are present in column1 of df1.
  • Accuracy
    • assert_that_type_value: Check if all non-null entries in a specified column of a DataFrame are of the specified data type.
    • assert_that_values_in_catalog: Checks whether all values in the specified column of a DataFrame are present in a catalog (list of values).

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

data-quality-kit-0.8.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

data_quality_kit-0.8.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file data-quality-kit-0.8.0.tar.gz.

File metadata

  • Download URL: data-quality-kit-0.8.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for data-quality-kit-0.8.0.tar.gz
Algorithm Hash digest
SHA256 0f655800e19ef9e8ae8f77b1abf27c3a8f22fd7a61a3a4891bcc4e401ee18389
MD5 c9030774ba4bc1cd6009ce81c7f4ba40
BLAKE2b-256 f9bf7e02f584f0ebc46c1e1b5b9f0d0c71d5f31e13ad3422bb680781431c3cee

See more details on using hashes here.

File details

Details for the file data_quality_kit-0.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for data_quality_kit-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6f3e11f7c14fba511b1229bd0c50fa2c810e6156cc5af388ae757988fb5a829
MD5 4cc73a32588e11494898939483e19ac0
BLAKE2b-256 e5bd331b7cf4c68aff5825d82fffd9060fab27b34ea86cc9ac648512cb150925

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