Overview of Great Expectations Semantic Types Expectations
developThe great_expectations_semantic_types_expectations package provides a collection of Expectations designed to validate data based on its semantic meaning rather than just its technical data type.
While standard expectations might check if a column is a STRING, Semantic Type expectations allow you to validate the actual information the string represents, such as US State abbreviations, ZIP codes, phone numbers, or email addresses. This enables more explicit, fit-for-purpose testing (e.g., asking "Does this column contain valid email addresses?" instead of checking against a manual list of regex patterns or sets).