woodwork.logical_types.Timedelta

class woodwork.logical_types.Timedelta[source]

Represents Logical Types that contain values specifying a duration of time

Examples

[pd.Timedelta('1 days 00:00:00'),
 pd.Timedelta('-1 days +23:40:00'),
 pd.Timedelta('4 days 12:00:00')]
__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

transform(series)

Converts the series dtype to match the logical type’s if it is different.

Attributes

backup_dtype

primary_dtype

standard_tags

type_string