pyinterp.core.dateutils.isocalendar#

pyinterp.core.dateutils.isocalendar(array: numpy.ndarray) numpy.ndarray[pyinterp::dateutils::ISOCalendar]#

Return the ISO calendar of dates.

Parameters

array – Numpy array of datetime64 to process.

Returns

year, week and weekday.

Return type

A structured numpy array containing three fields

See also

datetime.date.isocalendar.