woodwork.logical_types.Age#

class woodwork.logical_types.Age[source]#

Represents Logical Types that contain whole numbers indicating a person’s age. Has ‘numeric’ as a standard tag.

Examples

[15, 22, 45]
[30, 62, 87]
__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 age values by checking for non-negative values.

Attributes

primary_dtype

standard_tags

type_string