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.
Release files for dataexpectations 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dataexpectations-0.0.6.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dataexpectations-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 kB
Release files / dataexpectations-0.0.6.tar.gz
| Download URL | dataexpectations-0.0.6.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a96afe69bc7495a2cbbbf155dcd24d6a4ae16d6b70e64967b0ec3aa44a12480f
|
|
BLAKE2b-256 checksum How to use checksums |
5e4a0840e6cf183c1caaaa2c0c9da1bc9d3ecead351c13fc2e84fec16d967f0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dataexpectations-0.0.6-py3-none-any.whl
| Download URL | dataexpectations-0.0.6-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fa16ad0f5cd528aa8943ffcbded91e725d281ad7e60b08f6c17465b718fb940
|
|
BLAKE2b-256 checksum How to use checksums |
8ba46d0b9c5a731ae256e6a4749b3414c5aac940cf8433b21c591b44a9eaa221
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|