cudf.DatetimeIndex.indexer_between_time#

DatetimeIndex.indexer_between_time(
start_time,
end_time,
include_start: bool = True,
include_end: bool = True,
) ndarray[source]#

Return index positions of values between particular times of day.

Parameters:
start_time, end_timedatetime.time, str

Time passed either as object (datetime.time) or as string in appropriate format (“%H:%M”, “%H%M”, “%I:%M%p”, “%I%M%p”, “%H:%M:%S”, “%H%M%S”, “%I:%M:%S%p”, “%I%M%S%p”).

include_startbool, default True
include_endbool, default True
Returns:
cupy.ndarray

Integer positions of values between start_time and end_time. Returned as a device array, following cuDF convention (pandas returns a host numpy.ndarray).