Main
Warning
This section is a work in progress
check_and_export(schema, data, file, format, hard_check=True, custom_checks=None)
function to create validation object, run validation and export log.
Parameters
schema : dict The schema to validate against. data : pd.DataFrame | pl.DataFrame The data to validate. file : str The file path to export the validation log. format : str The format to use when exporting the log. hard_check : bool, optional Whether to perform strict validation checks, by default True custom_checks : list, optional A list of custom validation checks to apply, by default None
Returns
DataValidator Returns data validator object after validation and export.