woodwork.logical_types.Boolean

class woodwork.logical_types.Boolean[source]

Represents Logical Types that contain binary values indicating true/false.

Examples

[True, False, True]
[0, 1, 1]
__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

backup_dtype

primary_dtype

standard_tags

type_string