pyinterp.core.dateutils.time

pyinterp.core.dateutils.time(array: numpy.ndarray) numpy.ndarray[pyinterp::dateutils::Time]

Return the time part of the dates.

Parameters

array (numpy.ndarray) – Numpy array of datetime64 to process.

Returns

A structured numpy array containing three fields: hour, minute and second.

Return type

numpy.ndarray