pyinterp.core.dateutils.date#
- pyinterp.core.dateutils.date(array: object) tuple[numpy.ndarray[dtype=int32, shape=(*), order='C'], numpy.ndarray[dtype=uint8, shape=(*), order='C'], numpy.ndarray[dtype=uint8, shape=(*), order='C']]#
Extract the date part (year, month, day) from a numpy datetime64 array.
- Parameters:
array – Input numpy datetime64 array.
- Returns:
A tuple of three numpy arrays (years, months, days).