time

module of dascore.utils source

Utility for working with time.

Functions

Name Description
dtype_time_like Return True if dtype is time related (datetime64, timedelta64).
is_datetime64 Determine if an object represents a timedelta64 dtype or value(s).
is_timedelta64 Determine if an object represents a timedelta64 dtype or value(s).
to_datetime64 Convert an object to a datetime64.
to_exact_fraction Recover the simple fraction a float was rounded from, or None.
to_float Convert various datetime/timedelta things to a float.
to_int Ensure a scalar or array is a number.
to_timedelta64 Convert an object to timedelta64.