woodwork.logical_types.AgeNullable#

class woodwork.logical_types.AgeNullable[source]#

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

Examples

[np.nan, 22, 45]
[30, 62, np.nan]
__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