Skip to main content

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

License Status Regression Suite Static Analysis codecov Downloads Code style: black PyPI Latest Release

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


Download files

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

Source Distribution

dataexpectations-0.0.6.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

dataexpectations-0.0.6-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

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