woodwork.logical_types.PhoneNumber#
- class woodwork.logical_types.PhoneNumber[source]#
Represents Logical Types that contain numeric digits and characters representing a phone number.
Examples
["1-(555)-123-5495", "+1-555-123-5495", "5551235495"]
- __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 PhoneNumber values based on the regex in the config.
Attributes
primary_dtype
standard_tags
type_string