A light-weight, flexible, and expressive statistical data testing library
There is now support for granular control of schema-level or data-level validations. This can be done via the PANDERA_VALIDATION_DEPTH
environment variable. Schema-level (or metadata) validation includes things like column name checks and column data types, while data-level validation involves checks that operate on actual data values.
export PANDERA_VALIDATION_DEPTH= SCHEMA_AND_DATA # check schema- and data-level checks (default)
export PANDERA_VALIDATION_DEPTH=SCHEMA_ONLY # only do schema-level checks
export PANDERA_VALIDATION_DEPTH=DATA_ONLY # only do data-level checks
Pandas data synthesis strategies now uses comparison operator functions for more efficient data synthesis. It also updates the minimum hypothesis
version to 6.92.7
.
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.18.0...v0.18.1
Pandera now supports the configuration environment variable PANDERA_VALIDATION_ENABLED
.
export PANDERA_VALIDATION_ENABLED=False
now globally deactivates validation.
pip-compile
usage does not have --no-emit-index-url
by @filipeo2-mck in https://github.com/unionai-oss/pandera/pull/1390
unique
validation in PySpark by @filipeo2-mck in https://github.com/unionai-oss/pandera/pull/1396
nullable=True
by @filipeo2-mck in https://github.com/unionai-oss/pandera/pull/1403
cache()
/unpersist()
toggles by @filipeo2-mck in https://github.com/unionai-oss/pandera/pull/1414
PANDERA_VALIDATION_ENABLED
for pandas and Configuration docs by @noklam in https://github.com/unionai-oss/pandera/pull/1354
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.17.2...v0.18.0
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.17.1...v0.17.2
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.17.0...v0.17.1
This release adds support for pydantic v2. Pydantic < v2 should be supported for the foreseeable future.
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.16.1...v0.17.0
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.16.1...v0.17.0b0
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.16.0...v0.16.1
test_definied_check_strategy
by @honno in https://github.com/unionai-oss/pandera/pull/1224
unique_values_eq
argument to pa.Field
by @karajan1001 in https://github.com/unionai-oss/pandera/pull/1230
Full Changelog: https://github.com/unionai-oss/pandera/compare/v0.15.2...v0.16.0