woodwork.logical_types.IPAddress#

class woodwork.logical_types.IPAddress[source]#

Represents Logical Types that contain IP addresses, including both IPv4 and IPv6 addresses.

Examples

["172.16.254.1",
 "192.0.0.0",
 "2001:0db8:0000:0000:0000:ff00:0042:8329"]
__init__()#

Methods

__init__()

transform(series[, null_invalid_values])

Converts the series dtype to match the logical type's if it is different.

validate(series, *args, **kwargs)

Validates that a logical type is consistent with the series dtype.

Attributes

primary_dtype

standard_tags

type_string