pyinterp.core.dateutils.weekday

pyinterp.core.dateutils.weekday(array: numpy.ndarray) numpy.ndarray[numpy.uint32]

Return the weekday of the dates; Sunday is 0 … Saturday is 6.

Parameters:

array – Numpy array of datetime64 to process.

Returns:

Int dtype array containing weekday of the dates.