Skip to main content

Data Quality Check Library

Project description

Project Descrption

DATA QUALITY

A library which acts as a test cases for dataframes. Simply pass in your dataframe after initial import, or at each stage of your EDA to check for data quality with one line of code.

The test cases include(as of now)

  1. check for null values
  2. check for duplicates
  3. check for dtype matching
  4. check for outliers

The test cases work as a Pass/Fail type, where Passed indicates, good data quality and Failed indicates bad data quality

Example:

TEST CASE FOR NULL VALUES: Passed means that the dataframe has no null values. Failed indicates otherwise.

Requirements

  • Python 3+
  • Pandas
  • Numpy

Installation

pip install data-quality-tests

Updates & Changes

  1. the import function changed from:
from data_quality import DataQuality

to the following:

from data_quality_tests import DataQuality

Get Started

How to use this library

from data_quality_tests import DataQuality as dq

#declare any dataframe

df = sns.load_dataset("iris")

#pass the dataframe as below  

dq.data_quality_check(df)

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-tests-0.1.4.2.tar.gz (3.1 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_tests-0.1.4.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file data-quality-tests-0.1.4.2.tar.gz.

File metadata

  • Download URL: data-quality-tests-0.1.4.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for data-quality-tests-0.1.4.2.tar.gz
Algorithm Hash digest
SHA256 3e142ef13fd6b1ab7e5eb56fe988108fff8ca226b3865d5ceba486c9fd8291f9
MD5 5357826a8293c305a54500414b12dfc5
BLAKE2b-256 180fccc458a67921b4700f85ce687494d96c5f10e6af3d7bced710a8348bef07

See more details on using hashes here.

File details

Details for the file data_quality_tests-0.1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for data_quality_tests-0.1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f41a0270528492ab9ddf9e281ca49ae4bc92a3a158f6431eee3c11d3dfff676
MD5 81bd060af60dc4bcbf2c9e1590ccc8cd
BLAKE2b-256 830d0c3c9ec63bc2ea57e91f79173bd832ceb9f2e2800abc78c537279089c070

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