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.ndarray) – Numpy array of datetime64 to process.

Returns

int dtype array containing weekday of the dates.

Return type

numpy.ndarray