Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

tfdf.keras.core.timedelta

Difference between two datetime values.

timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)

All arguments are optional and default to 0. Arguments may be integers or floats, and may be positive or negative.

days Number of days.
microseconds Number of microseconds (>= 0 and less than 1 second).
seconds Number of seconds (>= 0 and less than 1 day).

Methods

total_seconds

Total seconds in the duration.

__abs__

abs(self)

__add__

Return self+value.

__bool__

self != 0

__eq__

Return self==value.

__floordiv__

Return self//value.

__ge__

Return self>=value.

__gt__

Return self>value.

__le__

Return self<=value.

__lt__

Return self<value.

__mod__

Return self%value.

__mul__

Return self*value.

__ne__

Return self!=value.

__neg__

-self

__pos__

+self

__radd__

Return value+self.

__rfloordiv__

Return value//self.

__rmod__

Return value%self.

__rmul__

Return value*self.

__rsub__

Return value-self.

__rtruediv__

Return value/self.

__sub__

Return self-value.

__truediv__

Return self/value.

max Instance of tfdf.keras.core.timedelta
min Instance of tfdf.keras.core.timedelta
resolution Instance of tfdf.keras.core.timedelta