pyinterp.core.dateutils.date¶
- pyinterp.core.dateutils.date(array: numpy.ndarray) numpy.typing.NDArray[pyinterp::dateutils::Date]¶
Extract the date part from a datetime64 array.
Extracts the year, month, and day components from numpy datetime64 values and returns them as a structured array.
- Parameters:
array – Numpy array of datetime64 to process.
- Returns:
year,month, andday.- Return type:
Structured numpy array containing three fields