Data Quality Testing Python Code