woodwork.logical_types.AgeFractional#
- class woodwork.logical_types.AgeFractional[source]#
Represents Logical Types that contain non-negative floating point numbers indicating a person’s age. Has ‘numeric’ as a standard tag. May also contain null values.
Examples
[0.34, 24.34, 45.0] [30.5, 62.82, 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