datatable.Type.is_temporal

Added in version 1.1.0

Test whether this type belongs to the category of time-related types. This property returns True for date32 and time64 types only.

Parameters

return
bool

Examples

dt.Type.date32.is_temporal
True
dt.Type.time64.is_temporal
True
dt.Type.str32.is_temporal
False