time

module of dascore.utils source

Utility for working with time.

Functions

Name Description
datetime_to_float Convert a datetime-like object to a float (timestamp).
get_max_min_times Function to get min/max times from a tuple of possible time values.
get_select_time Applies logic for select time.
is_datetime64 Return True if object is a timedelta object or array of such.
to_datetime64 Convert an object to a datetime64.
to_number Ensure a scalar or array is a number.
to_timedelta64 Convert an object to timedelta64.