Is your data meeting all your expecations
Project description
data_expectations
Is your data meeting your expectations?
Data Expectations is in Alpha - interface and usage patterns are being stablized
A delarative approach to asserting qualities of your datasets. Instead of tests like
is_sorted
to determine if a column is ordered, the expectation is
column_values_are_increasing
. Most of the time you don't need to know how it got
like that, you are only interested what the data looks like.
Expectations can be used alongside, or in place of a schema validator, however they are not intended to perform validation of the data in a dataset, not just the structure of a table.
Expectations
- expect_column_to_exist
- expect_column_names_to_match_set
- expect_column_values_to_not_be_null
- expect_column_values_to_be_of_type
- expect_column_values_to_be_in_type_list
- expect_column_values_to_be_between
- expect_column_values_to_be_increasing
- expect_column_values_to_be_decreasing
- expect_column_values_to_be_in_set
- expect_column_values_to_match_regex
- expect_column_values_to_match_like
- expect_column_values_length_to_be_be
- expect_column_values_length_to_be_between
Install
pip install data_expectations
if data doesn't match, I'm not angry, I'm just disappointed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dataexpectations-0.0.6.tar.gz
.
File metadata
- Download URL: dataexpectations-0.0.6.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96afe69bc7495a2cbbbf155dcd24d6a4ae16d6b70e64967b0ec3aa44a12480f |
|
MD5 | 406fddf6e366862f3bb93b6d12cba34c |
|
BLAKE2b-256 | 5e4a0840e6cf183c1caaaa2c0c9da1bc9d3ecead351c13fc2e84fec16d967f0c |
File details
Details for the file dataexpectations-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: dataexpectations-0.0.6-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa16ad0f5cd528aa8943ffcbded91e725d281ad7e60b08f6c17465b718fb940 |
|
MD5 | ee5e9565af0878bb24871e23486c892c |
|
BLAKE2b-256 | 8ba46d0b9c5a731ae256e6a4749b3414c5aac940cf8433b21c591b44a9eaa221 |