Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
Python data quality libraries check that datasets match the rules a team expects, such as types, ranges, null counts, and uniqueness. A check runs against a DataFrame, a SQL table, or a Spark dataset and returns a structured result for each rule. These libraries let data pipelines stop bad records before they reach reports or machine learning models.
Popularity
GX Core has the most monthly downloads in this comparison, at 19.5M.
def _pandera_schema_to_type_check_fn(
schema: DagsterPanderaSchema,
table_schema: TableSchema,
) -> Callable[[TypeCheckContext, object], TypeCheck]:
def type_check_fn(_context, value: object) -> TypeCheck:
if isinstance(value, VALID_DATAFRAME_CLASSES):
try:
# `lazy` instructs pandera to capture every (not just the first) validation error # TODO: pending alternative dataframe support if isinstance(schema, pa_pd.DataFrameSchema):
df = check.inst(value, pd.DataFrame, "Must be a pandas DataFrame.")
schema.validate(df, lazy=True)
# need to check that polars and pandera.polars are available before isinstance elif pl and pa_pl and isinstance(schema, pa_pl.DataFrameSchema): # ty: ignore[redundant-condition]
df = check.inst(value, pl.DataFrame, "Must be a polars DataFrame.")
schema.validate(df, lazy=True)
else:
check.failed(
f"Unexpected schema/value type combination: {type(schema).__name__} / {type(value).__name__}"
)
except pa_errors.SchemaErrors as e:
return _pandera_errors_to_type_check(e, table_schema)
except Exception as e:
return TypeCheck(
success=False,
description=f"Unexpected error during validation: {e}",
)
else:
return TypeCheck(
success=False,
description=(
f"Must be one of {VALID_DATAFRAME_CLASSES}, not {type(value).__name__}."
),
)
return TypeCheck(success=True)
return type_check_fn
DQX
Runs data quality checks and data quality monitoring.
from pprint import pprint
from frictionless import validate
report = validate('capital-invalid.csv')
print(report)
FAQ
GX Core suits teams that define expectations for DataFrames or SQL data and want readable validation documentation. Pandera suits schema checks on DataFrames inside Python code. PyDeequ and DQX suit checks on Spark datasets.
Great Expectations, published as GX Core, defines expectations about data and validates DataFrame batches or SQL data against them. Each run returns structured results and can build readable validation documentation.
Pandera validates DataFrame-like objects against schemas, column properties, and custom checks. It covers both schema and statistical validation.
DataComPy compares two datasets and reports the differences in rows and columns.
Soda Core verifies schema and data quality contracts written in YAML against a data source.
For coding agents
Found your data quality library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.