woodwork.logical_types.PostalCode#
- class woodwork.logical_types.PostalCode[source]#
Represents Logical Types that contain a series of postal codes for representing a group of addresses. Has ‘category’ as a standard tag.
Examples
["90210" "60018-0123", "10010"]
- __init__()#
Methods
__init__
()transform
(series[, null_invalid_values])Converts the series dtype to match the logical type's if it is different.
validate
(series[, return_invalid_values])Validates PostalCode values based on the regex in the config.
Attributes
primary_dtype
standard_tags
type_string