pyinterp.core.dateutils.timedelta_since_january

pyinterp.core.dateutils.timedelta_since_january(array: numpy.ndarray) numpy.ndarray

Return the number the timedelta since the first January.

Parameters:

array – Numpy array of datetime64 to process.

Returns:

timedelta64 dtype array containing the time delta since the first January.