woodwork.logical_types.Double

class woodwork.logical_types.Double[source]

Represents Logical Types that contain positive and negative numbers, some of which include a fractional component. Includes zero (0). Has ‘numeric’ as a standard tag.

Examples

[1.2, 100.4, 3.5]
[-15.34, 100, 58.3]
__init__()

Methods

__init__()

transform(series)

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

backup_dtype

primary_dtype

standard_tags

type_string